tomoscan.esrf.scan.framereducer.hdf5framereducer.HDF5FrameReducer¶
- class tomoscan.esrf.scan.framereducer.hdf5framereducer.HDF5FrameReducer(scan: TomoScanBase, reduced_method: ReduceMethod, target: REDUCER_TARGET, output_dtype: Optional[dtype] = None, overwrite=False)¶
Bases:
FrameReducerBaseFrame reducer dedicated to HDF5
- __init__(scan: TomoScanBase, reduced_method: ReduceMethod, target: REDUCER_TARGET, output_dtype: Optional[dtype] = None, overwrite=False)¶
Methods
__init__(scan, reduced_method, target[, ...])get_count_time_serie(indexes)get_machine_electric_current(indexes)get_series(scan, target)return a list of dictionary.
load_data_serie(urls)load all urls.
run()Attributes
output_dtypeoverwritereduced_methodreducer_targetscan- get_series(scan, target: REDUCER_TARGET) list¶
return a list of dictionary. Dictionaries keys are indexes in the acquisition. Values are url
- Parameters:
scan (NXtomoScan) – scan containing frames to reduce
target (REDUCER_TARGET) – dark of flat to be reduced
- load_data_serie(urls) dict¶
load all urls. Trying to reduce load time by calling get_compacted_dataslices