pysted.utils.compute_time_correspondances
- pysted.utils.compute_time_correspondances(fwhm_step_sec_correspondance, acquisition_time_sec, pixel_dwelltime, mode='flash')
This function computes how many loop steps will occur and how many pixels can be imaged for each loop step. So far this only works for static pixel_dwelltime, need to figure out how to make it work for varying dwell times per pixel or varying dwell times as in RESCue.
- Parameters:
fwhm_step_sec_correspondance – a tuple containing how large in time steps the FWHM of the mean flash is at index 0 and how large in seconds we want the FWHM to be at index 1
acquisition_time_sec – How long we want to acquire on the same datamap, in seconds. This will be used to determine how many loops we need to do (float? int?)
pixel_dwelltime – The pixel dwell time used by the microscope (float)
- Returns:
The number of pixels that can be imaged per loop and the number of loop iterations