Commit a23cd1c2 authored by Pierre Paleo's avatar Pierre Paleo
Browse files

[hdf5scan] Add ignored_projection parameter

parent d6b04ec0
......@@ -114,7 +114,11 @@ class HDF5TomoScan(TomoScanBase):
_EPSILON_ROT_ANGLE = 0.02
def __init__(
self, scan: str, entry: str = None, index: typing.Union[int, None] = 0
self,
scan: str,
entry: str = None,
index: typing.Union[int, None] = 0,
ignore_projections: typing.Union[None, str] = None,
):
if entry is not None:
index = None
......@@ -131,7 +135,9 @@ class HDF5TomoScan(TomoScanBase):
else:
self.master_file = None
super(HDF5TomoScan, self).__init__(scan=scan, type_=HDF5TomoScan._TYPE)
super(HDF5TomoScan, self).__init__(
scan=scan, type_=HDF5TomoScan._TYPE, ignore_projections=ignore_projections
)
if scan is None:
self._entry = None
......
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