pysted.microscopes.RESCueMicroscope
- class pysted.microscopes.RESCueMicroscope(excitation, sted, detector, objective, fluo, load_cache=False, opts=None, verbose=False)
Implements a RESCueMicroscope.
Refer to [Staudt2011] for details about RESCue microscopy.
The RESCue acquisition parameters are controlled with the opts variable. Other number of steps can be implemented by simply changing the length of each parameters.
opts = { "lower_treshold" : [2, -1], # Lower threshold on the number of photons "upper_threshold" : [4, -1], # Upper threshold on the maximum number of photons "decision_time" : [10e-6, -1] # Time spent for the decision }
Adds the residual pixels to the pixel bank
RESCueMicroscope.cache
(datamap_pixelsize[, ...])Compute and cache the excitation and STED intensities, and the fluorescence PSF.
Empty the cache.
Empties the pixel bank
Computes the effective point spread function.
This function acquires the signal and bleaches simultaneously.
RESCueMicroscope.is_cached
(datamap_pixelsize)Indicate the presence of a cache entry for the given pixel size.
Verifies the amount stored in the pixel_bank, return the integer part if greater or equal to 1