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

Curated optical setups

Worked optical setups, from interferometers and telescopes to microscopes, pulse compressors and nonlinear sources. Each comes with the background physics, a plain statement of what the model does and does not compute, and a live canvas to click through and open in the editor. The list of examples expands over time.

Fundamentals

Imaging with one lens An object 150 mm before a lens of 100 mm focal length: the rays from its tip meet again 300 mm behind the lens, in an image twice the size a… Beam expanders: Keplerian and Galilean Two ways to make a 4 mm laser beam 12 mm wide with two lenses: one focuses the beam between its lenses and is 200 mm long, the other never f… Total internal reflection in a right-angle prism Light inside glass that meets a face at 45° cannot leave: a right-angle prism turns a beam by 90° with one such reflection, and sends it bac… The law of Malus A polarizer passes cos² θ of light polarized at an angle θ to its axis: half of an unpolarized beam, nothing through crossed polarizers, and… Handedness after a mirror A mirror reverses the handedness of circular light and swaps the two diagonals, while p and s light come back as they went in: two mirrors g… Brewster window At Brewster’s angle a glass surface reflects none of the light polarized in the plane of incidence: a plate turned to that angle passes p li… Fresnel rhomb as an achromatic quarter-wave retarder Two total internal reflections inside a glass rhomb shift the phase of s against p by a quarter wave, nearly the same from blue to infrared,… Pinhole spatial filter A lens brings light travelling along its axis to one point and light at any other angle to another; a pinhole at the first point passes the … Spatial filtering in the Fourier plane Two lenses, four focal lengths: a grating placed in front is split into its diffraction orders, each focused at its own point between the le… Coupling a laser into a single-mode fibre Two mirrors put the beam on the axis of a lens, and the lens focuses it on the end of the fibre: the layout of every fibre launch, with the … Scan lens and tube lens: the galvo relayed to the back pupil Two lenses image a scanning mirror onto the back pupil of an objective, so that turning the mirror tilts the beam in the pupil without movin… Czerny–Turner monochromator A slit, two concave mirrors and a grating: the lines of a mercury lamp are spread across the plane of the exit slit, and turning the grating…