de_twin.state.AcquisitionRequest#
- class de_twin.state.AcquisitionRequest(camera_model='DE16', exposure_mode=ExposureMode.NORMAL, frame_time_s=0.01, total_frames=1, frames_per_buffer=1, hw_roi=None, hw_binning=(1, 1), bit_depth=None, counting=False, beam_blank_cmd=2, shutter_cmd=2, camera_inserted=True, scan=<factory>, acquisition_index=0, super_resolution=False, seed=None)[source]#
Bases:
objectWhat the camera has been asked to produce.
Filled from DE-Server (shared-memory control block), from the deapi fake server’s properties, or directly by an in-process caller.
- Parameters:
camera_model (str)
exposure_mode (ExposureMode)
frame_time_s (float)
total_frames (int)
frames_per_buffer (int)
hw_roi (Roi | None)
bit_depth (int | None)
counting (bool)
beam_blank_cmd (int)
shutter_cmd (int)
camera_inserted (bool)
scan (ScanRequest)
acquisition_index (int)
super_resolution (bool)
seed (int | None)
- __init__(camera_model='DE16', exposure_mode=ExposureMode.NORMAL, frame_time_s=0.01, total_frames=1, frames_per_buffer=1, hw_roi=None, hw_binning=(1, 1), bit_depth=None, counting=False, beam_blank_cmd=2, shutter_cmd=2, camera_inserted=True, scan=<factory>, acquisition_index=0, super_resolution=False, seed=None)#
- Parameters:
camera_model (str)
exposure_mode (ExposureMode)
frame_time_s (float)
total_frames (int)
frames_per_buffer (int)
hw_roi (Roi | None)
bit_depth (int | None)
counting (bool)
beam_blank_cmd (int)
shutter_cmd (int)
camera_inserted (bool)
scan (ScanRequest)
acquisition_index (int)
super_resolution (bool)
seed (int | None)
- Return type:
None
Methods
__init__([camera_model, exposure_mode, ...])Attributes
False when the acquisition itself blocks the beam (dark reference etc.).
frame k is seeded by (seed, k) whatever the twin exposed before.
read out at 2x the ROI each way (Apollo "Super-resolution").
- exposure_mode: ExposureMode = 3#
- scan: ScanRequest#
- super_resolution: bool = False#
read out at 2x the ROI each way (Apollo “Super-resolution”).
- Type:
Counting cameras