acquisition_array_class module

class acquisition_array_class.acquisition_arrays(model)

Bases: object

Acquisition array class.

Its methods generate the voltage arrays that are sent to the NI board for fast synchronization of the different hardware components for:

  • Low-resolution preview

  • High-resolution static light-sheet (SPIM) preview

  • High-resolution axially-swept light-sheet (ASLM) preview

  • Low-resolution stack acquisition

  • High-resolution static light-sheet (SPIM) stack acquisition

  • High-resolution axially-swept light-sheet (ASLM) stack acquisition

__init__(model)

Initialize the acquisition_arrays class. This class has the model as parameter to have access to all parameters that are set in the model (multiScope.py).

Parameters:

model – the microscope model class

get_highResASLM_StackAq_array(current_laserline)

This function generates the voltage array for the high-resolution axially-swept light-sheet (ASLM) stack acquisition. Triggers for the camera, stage and lasers are needed, and a smooth/windowed “sawtooth” pattern needs to be applied at the remote mirror.

Parameters:

current_laserline – Sets which wavelength/laser to image.

Returns:

basic_unit - voltage array with voltages to be sent to the NI board

get_highResSPIM_StackAq_array(current_laserline)

This function generates the voltage array for the high-resolution static light-sheet (SPIM) stack acquisition. Triggers for the camera, stage and lasers are needed, and a static voltage needs to be applied to the remote mirror.

Parameters:

current_laserline – Sets which wavelength/laser to image.

Returns:

basic_unit - voltage array with voltages to be sent to the NI board

get_highresASLM_preview_array()

This function generates the voltage array for the high-resolution axially-swept light-sheet (ASLM) preview. For ASLM, the laser on/off signal needs to be sent and the voltage of the remote mirror needs to be adjusted during an exposure.

Returns:

basic_unit - voltage array with voltages to be sent to the NI board

get_highresSPIM_preview_array()

This function generates the voltage array for the high-resolution SPIM (static light-sheet) preview. As no stage or camera functions are triggered in the preview, only the laser on/off trigger signal needs to be sent. If the microscope is in alignment mode, also the remote mirror voltage can be adjusted.

Returns:

basic_unit - voltage array with voltages to be sent to the NI board

get_lowRes_StackAq_array(current_laserline)

This function generates the voltage array for the low-resolution stack acquisition. Triggers for the camera, stage and lasers are needed, and a static voltage needs to be applied to the remote mirror.

Parameters:

current_laserline – Sets which wavelength/laser to image.

Returns:

basic_unit - voltage array with voltages to be sent to the NI board

get_lowres_preview_array()

This function generates the voltage array for the low-resolution preview. As no stage or camera functions are triggered in the preview, only the laser on/off trigger signal needs to be sent. If the microscope is in alignment mode, also the remote mirror voltage can be adjusted.

Returns:

basic_unit - voltage array with voltages to be sent to the NI board