pysted.base.Microscope.cache
- Microscope.cache(datamap_pixelsize, save_cache=False)
Compute and cache the excitation and STED intensities, and the fluorescence PSF.
These intensities are computed with a power of 1 W such that they can serve as a basis to compute intensities with any power.
- Parameters:
datamap_pixelsize – The size of a pixel in the simulated image (m).
save_cache – A bool which determines whether or not the lasers will be saved to allow for faster load times for future experiments
- Returns:
A tuple containing:
A 2D array of the excitation intensity for a power of 1 W;
A 2D array of the STED intensity for a a power of 1 W;
A 2D array of the detection PSF.