Laser Speckle / Point Spread Function Generator

Generation of laser speckle with controlled Numerical Aperture and wavelength. Also simulates point spread function of an objective.
288 Downloads
Updated 21 Jun 2021

View License

Laser Speckle generated thorugh an objective by Marco Leonetti. 18/06/2021. Algorithm based on the summation of plane waves with K vectors extracted randomply with directions compatible with an objective lens (with Numerical aperture NA) illuimination. The model is for one or two polarization (Polarizations Variable). The software also support the simulation of the focused spot size (focusing Point Spread Function ) of an objective. (Put Sim_Objective to 1) in this case the plane wave dephasing is set to zero (flat wavefront at the objective input).
See also https://mlphotonics.wordpress.com/

Cite As

Marcoleonetti1 (2024). Laser Speckle / Point Spread Function Generator (https://www.mathworks.com/matlabcentral/fileexchange/94310-laser-speckle-point-spread-function-generator), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.1

Added Profile of the PSF, Profile visualization, changed inputs, FWHM visualization.

1.0.0