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
e4e68810
Commit
e4e68810
authored
Jun 29, 2018
by
Philipp Arras
Browse files
Nontrivial noise covariance for testing
parent
64179bb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test_energies/test_map.py
View file @
e4e68810
...
...
@@ -84,7 +84,7 @@ class Energy_Tests(unittest.TestCase):
n
=
ift
.
Field
.
from_random
(
domain
=
space
,
random_type
=
'normal'
)
s
=
ht
(
ift
.
makeOp
(
A
)(
xi0_var
))
R
=
ift
.
ScalingOperator
(
10.
,
space
)
N
=
ift
.
ScalingOperator
(
1
.
,
space
)
N
=
ift
.
ScalingOperator
(
1
e2
,
space
)
d_model
=
R
(
ift
.
LocalModel
(
s
,
nonlinearity
()))
d
=
d_model
.
value
+
n
...
...
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