Skip to content
GitLab
Menu
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
0463763b
Commit
0463763b
authored
Nov 22, 2019
by
Philipp Frank
Browse files
fixup
parent
d79ada59
Pipeline
#64203
passed with stages
in 9 minutes and 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty5/library/correlated_fields.py
View file @
0463763b
...
...
@@ -328,7 +328,7 @@ class _Amplitude(Operator):
fluctuations
)
else
:
op
=
(
Adder
(
vol0
))
@
(
sig_fluc
*
(
azm_expander
@
azm
.
one_over
())
*
op
)
self
.
_fluc
t
=
fluctuations
self
.
_fluc
=
fluctuations
self
.
apply
=
op
.
apply
...
...
@@ -363,7 +363,8 @@ class CorrelatedFieldMaker:
offset_amplitude_stddev
,
prefix
+
'zeromode'
,
N
)
zm
=
_Distributor
(
dofdex
,
zm
.
target
,
UnstructuredDomain
(
total_N
))
@
zm
if
total_N
>
0
:
zm
=
_Distributor
(
dofdex
,
zm
.
target
,
UnstructuredDomain
(
total_N
))
@
zm
return
CorrelatedFieldMaker
(
zm
,
prefix
,
total_N
)
def
add_fluctuations
(
self
,
...
...
Write
Preview
Supports
Markdown
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