Commit 7625fcb5 authored by payno's avatar payno
Browse files

fix `_get_flats_weights`

parent 5dd72e31
Pipeline #33048 failed with stages
in 2 minutes and 11 seconds
......@@ -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):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment