ophyd.areadetector.filestore_mixins¶
Mixin classes that customize the filestore integration of AreaDetector FilePlugins.
To be used like so
from ophyd.areadetector.detectors import PerkinElmerDetector
from ophyd.areadetector.plugins import HDF5Plugin
from ophyd.areadetector.trigger_mixins import SingleTrigger
from ophyd.areadetector.filestore_mixins import (
FileStoreIterativeWrite)
class MyPlugin(HDF5Plugin, FileStoreIterativeWrite):
pass
dest = '/tmp' # in production, use a directory on your system -- not /tmp
class MyDetector(PerkinElmerDetector, SingleTrigger): # for example
file_plugin = MyPlugin(suffix='HDF1:', write_path_template=dest)
det = MyDetector(...)
Functions
|
uuid4, skipping the last stanza because of AD length restrictions. |
|
uuid4 as a string |
|
Helper to create resource document and datum factory. |
Classes
|
Base class for FileStore mixin classes |
|
|
|
|
|
This FileStore mixin is used when running the AreaDetector hdf5 plugin in Single mode (ie. |
|
Used for running Areadetectors hdf5 plugin in Single mode, with point_number in the kwargs. |
|
This adds ‘point_number’ to datum_kwargs. |
|
|
|
|
|
|
|
Write out ‘squashed’ tiffs |