Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NIFTy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ift
NIFTy
Commits
743b9fd4
Commit
743b9fd4
authored
Jun 29, 2020
by
Philipp Arras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warning in doc generation
parent
5722ad9b
Pipeline
#77459
passed with stages
in 13 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/operators/normal_operators.py
src/operators/normal_operators.py
+7
-7
No files found.
src/operators/normal_operators.py
View file @
743b9fd4
...
...
@@ -16,22 +16,22 @@
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik.
import
numpy
as
np
from
..domain_tuple
import
DomainTuple
from
..domains.unstructured_domain
import
UnstructuredDomain
from
..operators.operator
import
Operator
from
..operators.adder
import
Adder
from
..operators.simple_linear_operators
import
ducktape
from
..operators.diagonal_operator
import
DiagonalOperator
from
..operators.simple_linear_operators
import
ducktape
from
..sugar
import
makeField
from
..utilities
import
value_reshaper
,
lognormal_moments
from
..utilities
import
lognormal_moments
,
value_reshaper
def
NormalTransform
(
mean
,
sigma
,
key
,
N_copies
=
0
):
"""Opchain that transforms standard normally distributed values to
normally distributed values with given mean an standard deviation.
Parameters
:
----------
-
Parameters
----------
mean : float
Mean of the field
sigma : float
...
...
@@ -60,8 +60,8 @@ def LognormalTransform(mean, sigma, key, N_copies):
"""Opchain that transforms standard normally distributed values to
log-normally distributed values with given mean an standard deviation.
Parameters
:
----------
-
Parameters
----------
mean : float
Mean of the field
sigma : float
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment