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 / Polarization / Polarizer

Polarizer

Selects a linear polarization direction and attenuates light according to its input state, for exploring Malus’s law and polarization-dependent optical transmission.

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 ideal linear polarizer transmits only the field component parallel to its transmission axis. For fully polarized light arriving at angle θ to that axis, the classic form of Malus's law gives the transmitted intensity:

I=I0cos⁡2θI = I_0 \cos^{2}\theta
Malus's law for fully (linearly) polarized input.

That scalar formula only covers fully linearly polarized light, though — it says nothing about partially polarized, unpolarized, or elliptically polarized input, which is most real light sources.

In OpticalSetup

Polarization state throughout OpticalSetup is tracked as a full normalized Stokes vector (s₁, s₂, s₃), not a single angle — so a polarizer's transmission is computed with the general form of Malus's law, which reduces to the scalar equation above for fully linear light but also gives the correct partial transmission for unpolarized, partially polarized, or circular input:

T=12(1+s1cos⁡2θ+s2sin⁡2θ)T = \tfrac{1}{2}\left(1 + s_1\cos 2\theta + s_2\sin 2\theta\right)
The Stokes-vector form of Malus's law that OpticalSetup evaluates at every polarizer.
Simplified vs. reality

The polarizer is ideal — perfect extinction on the blocked axis, no wavelength dependence, no insertion loss on the transmission axis.

Related components

Further reading