Free software

About OpticalSetup

Copyright © 2026 Luca Genchi and contributors.

OpticalSetup is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

It is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details.

The numbers OpticalSetup reports come from models with stated limits; read each component's page in the wiki before relying on one.

If you use OpticalSetup in your research, teaching or publications, please cite the software:

Bertoncini, A., & Genchi, L. (2026). OpticalSetup - the optical workbench software [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.23191537

Wiki / Pulse Timing / Pulse Compressor

Pulse Compressor

Adds positive or negative group-delay dispersion to a pulse, shortening it when the correction cancels dispersion accumulated earlier in the setup.

Open in the canvas →

A live trace, not a picture of one — but this preview is not interactive. Open it in the canvas to move things, change parameters, and save or export your own version.

In the real world

An ultrashort pulse is shortest when its frequency components arrive with the spectral phase required by its transform limit. Material dispersion makes those components acquire different delays, producing chirp and a longer temporal envelope. A pulse compressor introduces the opposite spectral-phase curvature so the accumulated group-delay dispersion (GDD) approaches zero and the pulse becomes shorter again.

Real compressors commonly use diffraction-grating pairs, prism pairs, chirped mirrors, or combinations of them. Their geometry determines not only second-order GDD but also third- and higher-order dispersion, throughput, spatial chirp, and alignment sensitivity. The useful setting therefore compensates the measured upstream dispersion rather than having a universally correct negative value.

GDDout=GDDin+GDDcomp\mathrm{GDD}_{out}=\mathrm{GDD}_{in}+\mathrm{GDD}_{comp}
Second-order compensation is additive; shortest duration occurs near zero net GDD for a transform-limited Gaussian input.
τout=τ01+(4ln⁡2 GDDout/τ02)2\tau_{out}=\tau_{0}\sqrt{1+\left(4\ln 2\,\mathrm{GDD}_{out}/\tau_{0}^{2}\right)^2}
Gaussian pulse duration under the second-order-only model used by OpticalSetup.

In OpticalSetup

The Pulse Compressor is a straight-through, zero-thickness GDD element. Set Applied GDD positive or negative; the value is added to every pulsed ray crossing its clear aperture, while transmission efficiency applies the configured loss. A negative setting compresses only when it cancels positive GDD already on the path — placed before any glass, the same negative magnitude broadens a transform-limited pulse instead.

For Gaussian and sech² sources, the travelling packet overlay reads the local accumulated GDD along each traced segment. A chirped source also carries a signed input GDD inferred from its bandwidth and duration, so a compressor can shorten it to the transform limit and further GDD stretches it again. Flat-top supercontinua use the endpoint group-delay difference across their full band. The true duration, model name, GDD, and stretch or compression factor remain available numerically at a downstream detector.

Simplified vs. reality

This is a lumped second-order phase proxy, not a physical compressor prescription. It does not trace the compressor's internal grating, prism, or chirped-mirror geometry; it does not model carrier phase, third-order dispersion, spatial chirp, pulse-front tilt, nonlinear phase, or arbitrary spectral phase. Input chirp is limited to the positive/negative quadratic-phase estimate implied by the authored duration and bandwidth; a pulse whose phase is unknown or whose paths disagree reads unavailable at a detector, and its packet keeps its configured length on the canvas as a glyph, not a prediction. On-screen packet length is a qualitative glyph; detector numbers retain the unclamped second-order result.

Related components

Further reading