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
tomoscan
Commits
38b734da
Commit
38b734da
authored
Sep 10, 2020
by
payno
Browse files
fix typo from rebase
parent
5756aa9c
Pipeline
#33244
passed with stages
in 3 minutes and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tomoscan/test/test_scanbase.py
View file @
38b734da
...
...
@@ -77,13 +77,6 @@ class TestFlatFieldCorrection(unittest.TestCase):
def
test_get_flats_weights
(
self
):
"""test the _get_flats_weights function and insure flat weights
are correct"""
projections
=
{}
for
i
in
range
(
-
2
,
30
):
projections
[
i
]
=
numpy
.
random
.
random
(
100
).
reshape
((
10
,
10
))
self
.
scan
.
projections
=
projections
def
test_get_flats_weights
(
self
):
flat_weights
=
self
.
scan
.
_get_flats_weights
()
self
.
assertTrue
(
isinstance
(
flat_weights
,
dict
))
self
.
assertEqual
(
len
(
flat_weights
),
32
)
...
...
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