Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
9dc11964
Commit
9dc11964
authored
Jul 01, 2020
by
Martin Reinecke
Browse files
minor tweaks
parent
735e5757
Pipeline
#77652
passed with stages
in 13 minutes and 26 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ChangeLog.md
View file @
9dc11964
...
...
@@ -5,23 +5,23 @@ CorrelatedFieldMaker interface change
-------------------------------------
The interface of
`ift.CorrelatedFieldMaker.make`
and
`ift.CorrelatedFieldMaker.add_fluctuations`
changed
and
now expects the mean
`ift.CorrelatedFieldMaker.add_fluctuations`
changed
; it
now expects the mean
and the standard deviation of their various parameters not as separate
arguments but as tuple.
arguments but as
a
tuple.
Furthermore, it is now possible to disable the asperity and the flexibility
together with the asperity in the correlated field model. Note
,
disabling
only
the flexibility is not possible.
together with the asperity in the correlated field model. Note
that
disabling
only
the flexibility is not possible.
SimpleCorrelatedField
---------------------
Introduce a
simplified version of the correlated field model
that
does not
A
simplified version of the correlated field model
was introduced which
does not
allow for multiple power spectra, the presence of a degree of freedom parameter
`dofdex`
or
`total_N`
larger than zero. Except for the above mentioned
`dofdex`
,
or
`total_N`
larger than zero. Except for the above mentioned
limitations, it is equivalent to
`ift.CorrelatedFieldMaker`
. Hence, if one
wants to understand the implementation idea behind the model, it is easier to
grasp
it
from reading
`ift.SimpleCorrelatedField`
than from going through
grasp from reading
`ift.SimpleCorrelatedField`
than from going through
`ift.CorrelatedFieldMaker`
.
Change in external dependencies
...
...
src/library/correlated_fields.py
View file @
9dc11964
...
...
@@ -416,8 +416,8 @@ class CorrelatedFieldMaker:
used on the target field subdomain `target_subdomain`.
It is assembled as the sum of a power law component
(linear slope in log-log power-frequency-space),
a smooth varying component (integrated
w
iener process) and
a ragged component (un-integrated
w
iener process).
a smooth varying component (integrated
W
iener process) and
a ragged component (un-integrated
W
iener process).
Multiple calls to `add_fluctuations` are possible, in which case
the constructed field will have the outer product of the individual
...
...
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