navigate.model.features.cva_conpro.ConstantVelocityAcquisition
- class navigate.model.features.cva_conpro.ConstantVelocityAcquisition(model, axis='z', saving_flag=False, saving_dir='cva')
Bases:
object
- __init__(model, axis='z', saving_flag=False, saving_dir='cva')
Methods
__init__
(model[, axis, saving_flag, saving_dir])cleanup
()Clean up the constant velocity acquisition.
Clean up the constant velocity acquisition.
end_data_func
()end_func_signal
()in_data_func
(frame_ids)main_func_signal
()pre_data_func
()Prepare the constant velocity acquisition.
update_channel
()- cleanup()
Clean up the constant velocity acquisition.
Need to reset the trigger source to the default.
- cleanup_data_function()
Clean up the constant velocity acquisition.
Designed to be called in the case of a failure. Do not rely on this function being called.
Cleans up the image writer.
- pre_func_signal()
Prepare the constant velocity acquisition.
Injects a new trigger source and prepares the stage for a constant scan velocity mode. All tasks are triggered by the ASI stage encoder. Only operates in a per-stack acquisition mode. Stage velocity is calculated based on the current exposure time, step size, and minimum encoder divide.
Rotary encoder has a resolution of 45,396 counts/mm, or 1 count per 10 nm. It is a quadrature device, so the minimum step size is 40 nm.
Assumes stage motion is 45 degrees relative to the optical axis.
- Parameters:
None –
- Return type:
None