tomoscan.esrf.scan.framereducer.hdf5framereducer.HDF5FrameReducer#
- class tomoscan.esrf.scan.framereducer.hdf5framereducer.HDF5FrameReducer(scan, reduced_method, target, output_dtype=None, overwrite=False)#
Bases:
FrameReducerBaseFrame reducer dedicated to HDF5
- __init__(scan, reduced_method, target, output_dtype=None, overwrite=False)#
Methods
__init__(scan, reduced_method, target[, ...])get_count_time_serie(indexes)get_machine_current(indexes)get_series(scan, target)return a list of dictionary.
load_data_serie(urls)load all urls.
run()- rtype:
dict
Attributes
output_dtype- rtype:
numpy.dtype | None
overwritereduced_method- rtype:
reducer_target- rtype:
scan- rtype:
- get_series(scan, target)#
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
- Return type:
list
- load_data_serie(urls)#
load all urls. Trying to reduce load time by calling get_compacted_dataslices
- Return type:
dict