id4_common.devices.ad_positionstream#

Lambda area detector

Module Contents#

class id4_common.devices.ad_positionstream.PositionStreamCam#

Bases: ophyd.areadetector.ADBase

ADBase subclass for position-stream cameras with acquire, counter, and callback signals.

port_name#
adcore_version#
acquire#
acquire_busy#
acquire_time#
array_counter#
queued_arrays#
array_rate#
array_callbacks#
wait_for_plugins#
nd_attributes_file#
class id4_common.devices.ad_positionstream.MySingleTrigger(*args, image_name=None, delay_time=0.1, **kwargs)#

Bases: ophyd.BlueskyInterface

BlueskyInterface mixin that triggers a single acquisition and waits for the busy signal.

stage()#

Subscribe to acquire_busy changes and call the parent stage method.

unstage()#

Call parent unstage and unsubscribe the acquire_busy callback.

trigger()#

Trigger one acquisition.

class id4_common.devices.ad_positionstream.PositionStreamDevice(*args, default_folder='', hdf1_name_template='%s/%s_%6.6d', hdf1_file_extension='h5', **kwargs)#

Bases: MySingleTrigger, ophyd.areadetector.DetectorBase

AreaDetector device for position-stream data with HDF5 file output.

cam#
hdf1#
default_folder = ''#
hdf1_name_format = '%s/%s_%6.6d.h5'#
property preset_monitor#

Return the dummy acquire_time signal used as a no-op preset monitor.

default_settings()#

Set the HDF1 plugin warmup signal sequence for proper plugin initialization.

setup_images(base_path, name_template, file_number, flyscan=False)#

Configure HDF1 file path, name, and number for an upcoming acquisition.

property save_image_flag#

Return True if the HDF1 plugin is enabled or autosave is active.