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
tomotools
Nabu
Commits
c8ddff07
Commit
c8ddff07
authored
Jun 24, 2020
by
myron
Browse files
reduced the noise in the noisy test because with float32 the ffts are more fragiles
parent
406955aa
Pipeline
#28134
passed with stages
in 2 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nabu/preproc/tests/test_alignment.py
View file @
c8ddff07
...
...
@@ -147,7 +147,7 @@ class TestCor(object):
radio1
=
self
.
data
[
0
,
:,
:]
radio2
=
np
.
fliplr
(
self
.
data
[
1
,
:,
:])
noise_level
=
radio1
.
max
()
/
8
.0
noise_level
=
radio1
.
max
()
/
16
.0
noise_ima1
=
np
.
random
.
normal
(
0.0
,
size
=
radio1
.
shape
)
*
noise_level
noise_ima2
=
np
.
random
.
normal
(
0.0
,
size
=
radio2
.
shape
)
*
noise_level
...
...
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