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
7625fcb5
Commit
7625fcb5
authored
Sep 08, 2020
by
payno
Browse files
fix `_get_flats_weights`
parent
5dd72e31
Pipeline
#33048
failed with stages
in 2 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tomoscan/scanbase.py
View file @
7625fcb5
...
...
@@ -571,6 +571,8 @@ class TomoScanBase:
def
_get_flats_weights
(
self
):
"""compute flats indexes to use and weights for each projection"""
if
self
.
normed_flats
is
None
:
return
None
flats_indexes
=
sorted
(
self
.
normed_flats
.
keys
())
def
get_weights
(
proj_index
):
...
...
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