Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
3996479e
Commit
3996479e
authored
Jun 29, 2020
by
Philipp Arras
Browse files
Add docs
parent
fef4a35d
Pipeline
#77452
passed with stages
in 13 minutes and 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/library/correlated_fields_simple.py
View file @
3996479e
...
...
@@ -34,6 +34,12 @@ from .correlated_fields import (_log_vol, _Normalization,
class
SimpleCorrelatedField
(
Operator
):
"""Simplified version of :class:`~nifty7.library.correlated_fields.CorrelatedFieldMaker`.
Assumes `total_N = 0`, `dofdex = None` and the presence of only one power
spectrum, i.e. only one call of
:func:`~nifty7.library.correlated_fields.CorrelatedFieldMaker.add_fluctuations`.
"""
def
__init__
(
self
,
target
,
offset_mean
,
offset_std_mean
,
offset_std_std
,
fluctuations_mean
,
fluctuations_stddev
,
flexibility_mean
,
flexibility_stddev
,
asperity_mean
,
asperity_stddev
,
...
...
@@ -98,4 +104,5 @@ class SimpleCorrelatedField(Operator):
@
property
def
amplitude
(
self
):
"""Analoguous to :func:`~nifty7.library.correlated_fields.CorrelatedFieldMaker.amplitude`."""
return
self
.
_a
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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