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
c0177abb
Commit
c0177abb
authored
Nov 07, 2019
by
Philipp Arras
Browse files
Minor
parent
f2be6521
Pipeline
#63186
failed with stages
in 4 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
demos/multi_amplitudes_consistency.py
View file @
c0177abb
...
...
@@ -65,6 +65,10 @@ def testAmplitudesConsistency(seed, sspace):
fluct_freq
=
np
.
sqrt
(
fluct_freq
/
nsam
)
zm_std_mean
=
np
.
sqrt
(
zm_std_mean
/
nsam
)
np
.
testing
.
assert_allclose
(
offset_std
,
zm_std_mean
,
rtol
=
0.5
)
np
.
testing
.
assert_allclose
(
intergated_fluct_std0
,
fluct_space
,
rtol
=
0.5
)
np
.
testing
.
assert_allclose
(
tot_flm
,
fluct_total
,
rtol
=
0.5
)
print
(
"Expected offset Std: "
+
str
(
offset_std
))
print
(
"Estimated offset Std: "
+
str
(
zm_std_mean
))
...
...
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