id4_common.devices.ad_lambda#

Lambda area detector

Module Contents#

id4_common.devices.ad_lambda.LAMBDA_FILES_ROOT = '/extdisk/4idd/'#
id4_common.devices.ad_lambda.BLUESKY_FILES_ROOT = '/home/sector4/4idd/bluesky_images'#
id4_common.devices.ad_lambda.TEST_IMAGE_DIR = '%Y/%m/%d/'#
class id4_common.devices.ad_lambda.MySingleTrigger(*args, image_name=None, delay_time=0.1, **kwargs)#

Bases: ophyd.areadetector.TriggerBase

This trigger mixin class takes one acquisition per trigger. .. rubric:: Examples

>>> class SimDetector(SingleTrigger):
...     pass
>>> det = SimDetector('..pv..')
# optionally, customize name of image
>>> det = SimDetector('..pv..', image_name='fast_detector_image')
stage()#

Subscribe to detector state changes and stage the detector.

unstage()#

Unstage the detector and unsubscribe from detector state changes.

trigger()#

Trigger one acquisition.

class id4_common.devices.ad_lambda.Lambda250kCam#

Bases: ophyd.areadetector.CamBase

support for X-Spectrum Lambda 750K detector https://x-spectrum.de/products/lambda-350k750k/

serial_number#
firmware_version#
operating_mode#
energy_threshold#
dual_threshold#
file_number_sync = None#
file_number_write = None#
pool_max_buffers = None#
class id4_common.devices.ad_lambda.MyHDF5Plugin(*args, **kwargs)#

Bases: ophyd.areadetector.filestore_mixins.FileStoreHDF5SingleIterativeWrite, ophyd.areadetector.plugins.HDF5Plugin_V34

HDF5 plugin for the Lambda 250k detector with POLAR-specific filestore spec.

filestore_spec = 'AD_HDF5_Lambda250k_APSPolar'#
class id4_common.devices.ad_lambda.Lambda250kDetector(*args, image_name=None, delay_time=0.1, **kwargs)#

Bases: MySingleTrigger, ophyd.areadetector.DetectorBase

Lambda 250k area detector with HDF5 file writing and statistics plugins.

cam#
hdf1#
roi1#
roi2#
roi3#
roi4#
stats1#
stats2#
stats3#
stats4#
codec#
proc#
property preset_monitor#

Return the signal used to set exposure time.

default_kinds()#

Configure default kind settings for all detector plugins and components.

default_settings()#

Apply default stage signal settings for the Lambda detector.