Generate Spatiotemporal Optical Vortex with 4f Pulse Shaper

Version 1.1.0 (3.93 KB) by 弘辉
simulation of STOV generation via a 4f pulse shaper with a spiral phase mask
3 Downloads
Updated 8 Jan 2026

View License

1、This MATLAB code simulates the generation of Spatiotemporal Optical Vortices (STOVs) using a standard 4f pulse shaping system. The simulation follows the complete optical path, including:
  • Grating dispersion for spectral decomposition
  • Cylindrical lens focusing in the Fourier plane
  • Spiral phase mask application for STOV creation
  • Backward propagation through the symmetric system
2、During simulations with the grating at the Littrow angle, the phase singularity line of the generated STOV exhibits a slight tilt . The question that when the incident angle deviates from the Littrow configuration, the tilt angle increases significantly, has been solved.And I hope that this code can help beginners quickly learn and master the relevant concepts.
Tips:This code is also publicly available at other websites:“https://www.zhihu.com/question/1992282895633643198”.So there are no conflicts of interest.

Cite As

弘辉 (2026). Generate Spatiotemporal Optical Vortex with 4f Pulse Shaper (https://au.mathworks.com/matlabcentral/fileexchange/182998-generate-spatiotemporal-optical-vortex-with-4f-pulse-shaper), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.1.0

The wrong calculation of phase modulation of Grating 2 has been corrected.

1.0.0