ophyd.areadetector.filestore_mixins.FileStoreTIFFSquashing¶
-
class
ophyd.areadetector.filestore_mixins.FileStoreTIFFSquashing(*args, images_per_set_name='images_per_set', number_of_sets_name='number_of_sets', cam_name='cam', proc_name='proc1', **kwargs)¶ Write out ‘squashed’ tiffs
Note
See
FileStoreBasefor the rest of the required parametrsThis mixin will also configure the
camandprocplugins on the parent.This is useful to work around the dynamic range of detectors and minimizing disk spaced used by synthetically increasing the exposure time of the saved images.
Parameters: - images_per_set_name, number_of_sets_name : str, optional
The names of the signals on the parent to get the images_pre_set and number_of_sets from.
The total number of frames extracted from the camera will be \(number\_of\_sets * images\_per\_set\) and result in
number_of_setstiff files each of which is the average ofimages_per_setframes from the detector.Defaults to
'images_per_set'and'number_of_sets'- cam_name : str, optional
The name of the
CamBaseinstance on the parent.Defaults to
'cam'- proc_name : str, optional
The name of the
ProcessPlugininstance on the parent.Defaults to
'proc1'
Notes
This class in cooperative and expected to particpate in multiple inheritance, all
*argsand extra**kwargsare passed up the MRO chain.-
__init__(*args, images_per_set_name='images_per_set', number_of_sets_name='number_of_sets', cam_name='cam', proc_name='proc1', **kwargs)¶
Methods
__init__(*args[, images_per_set_name, …])collect_asset_docs()describe()generate_datum(key, timestamp, datum_kwargs)Generate a uid and cache it with its key for later insertion. get_frames_per_point()make_filename()Make a filename. pause()Attempt to ‘pause’ the device. read()resume()Resume a device from a ‘paused’ state. stage()trigger()Trigger the device and return status object. unstage()