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 / Specimens / Sample on piezo stage

Sample on piezo stage

Moves a mounted sample through static, lateral, depth or raster scans, and can record writing in resin.

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

A sample stage translates the specimen relative to the illumination and collection optics. Lateral motion samples different positions across a specimen; axial motion changes its position along the optical axis. A physical stage has finite travel, response time, and positioning accuracy.

Visible fluorescence has been observed during two-photon photopolymerization of SU-8, allowing optical monitoring of that material; fluorescence response is material-dependent[1].

In OpticalSetup

The stage combines a mounting aperture with the sample's optical modes, including the χ⁽²⁾ channel that gives each beam's second harmonic and the sum frequency of a pair, and the two-beam signals — sum frequency, CARS and stimulated Raman — that only appear while both pulses reach the specimen together. Select a static position, long-axis scan, beam-axis depth scan, or synchronized raster, then set the travel and frequency. At 90° rotation, a horizontal beam crosses the sample and a long-axis scan moves it vertically on the canvas.

Scanning moves the specimen, not the arms, so it does not change the arrival difference between two beams: that is set by their optical paths, and a delay line or a matched arm is what fixes it.

The example moves an illuminated sample laterally. For a writing demonstration, choose photocurable resin, enable voxel preview, and use a pulsed source. Enable Two-photon fluorescence separately to add a collectible optical signal while writing; its channel exposes wavelength, efficiency, and emission-ray count. Marks record traced pulse arrivals in the moving sample.

Simplified vs. reality

The workbench shows a two-dimensional projection. Resin marks are a visual arrival history, not a prediction of dose, polymerization threshold, cure kinetics, voxel size, or three-dimensional fabrication. Fluorescence is an optional qualitative signal, not a measure of curing or conversion. Its two-photon wavelength rule does not calculate intensity-squared absorption. Piezo hysteresis and mechanical settling are not simulated.

Related components

References

  1. Stoneman et al. — Real-time monitoring of two-photon photopolymerization for use in fabrication of microfluidic devices (2009)