darks and flats copy - method 1

scan selector

image-key-upgrader

reduced darks and flats

scan with darks to be used

scan with reduced flats to be used

scan selector (1)

step2: provide scans for which we need to copy reduced darks and flats
invalid any existing darks or flats frames (else reduced darks and flats will use them instead of making the copy)
will copy reduced darks / flats to `dataset_{darks|flats}.hdf5` to be used for reconstruction
step1: provide scan with already computed darks and flats
result: scans with copied reduced darks / flats
Context: on this workflow we want to copy reduced flats / darks from a dataset to others. This one of the various way to do this.
Note: You can also replace the two upper widgets (providing reduced darks and flats) by a python script providing a python dictionary. * Key should be position of the flat / dark in the sequence (so 0 if at the beginning for example) * Value is the 2D numpy array with mean / median /xxx of the darks and flats serie
{'_scanIDs': [], 'controlAreaVisible': True, 'savedWidgetGeometry': None, '__version__': 1}
gASVLwEAAAAAAAB9lCiMFV9ld29rc19kZWZhdWx0X2lucHV0c5R9lIwKb3BlcmF0aW9uc5R9lCiM G3RvbW9zY2FuLmVzcmYuc2Nhbi5oZGY1c2NhbpSMCEltYWdlS2V5lJOUSwKFlFKUaAdLA4WUUpRo B0sBhZRSlGgLdXOMD19ld29rc19leGVjaW5mb5R9lIwOX2V3b2tzX3ZhcmluZm+UfZSMEmNvbnRy b2xBcmVhVmlzaWJsZZSIjA5kZWZhdWx0X2lucHV0c5R9lIwTc2F2ZWRXaWRnZXRHZW9tZXRyeZRD QgHZ0MsAAwAAAAAH5gAAARgAAAovAAADLQAAB+sAAAE1AAAKKgAAAygAAAABAAAAAAd/AAAH6wAA ATUAAAoqAAADKJSMC19fdmVyc2lvbl9flEsBdS4=
{'_ewoks_default_inputs': {'data': None, 'dark_ref_params': None}, 'controlAreaVisible': True, 'savedWidgetGeometry': b'\x01\xd9\xd0\xcb\x00\x03\x00\x00\x00\x00\x07\x0e\x00\x00\x015\x00\x00\x0b\x08\x00\x00\x03\x10\x00\x00\x07\x13\x00\x00\x01R\x00\x00\x0b\x03\x00\x00\x03\x0b\x00\x00\x00\x01\x00\x00\x00\x00\x07\x7f\x00\x00\x07\x13\x00\x00\x01R\x00\x00\x0b\x03\x00\x00\x03\x0b', '__version__': 1}
{'_tomo_obj_setting': '', 'controlAreaVisible': True, 'savedWidgetGeometry': None, '__version__': 1}
{'_tomo_obj_setting': '', 'controlAreaVisible': True, 'savedWidgetGeometry': None, '__version__': 1}
{'_scanIDs': [], 'controlAreaVisible': True, 'savedWidgetGeometry': None, '__version__': 1}