Concepts¶
The idea in plain words¶
Four things decide what the camera records: the physics of light, the optics that collect it, the light that excites the sample, and the camera that counts it. Open a card for the details.
1. Diffraction limitWhy even a perfect microscope blurs: about 230 nm at 1.4 NA.Read more →
2. Optical designObjective, pixels, pinholes and lenslets: what reaches the camera.Read more →
3. IlluminationHow a known pattern of light moves fine detail into view.Read more →
4. Imaging sensor and noisePhotons arrive at random; the camera adds its own offsets.Read more →
1. Diffraction limit¶
Light cannot be focused to a point. An objective collects only a cone of light (its numerical aperture, NA), so even a perfect microscope images a single fluorescent molecule as a small blurred spot, the point spread function (PSF). Two molecules closer than about \(0.61\,\lambda/\mathrm{NA}\) merge into one spot: with a 1.4 NA oil objective and green emission (525 nm) that is about 230 nm across the image and about 800 nm along the optical axis. This is the diffraction limit (Abbe 1873, Rayleigh 1879). Seen in frequencies, the optics are a low-pass filter: they pass spatial frequencies up to \(2\,\mathrm{NA}/\lambda\), and nothing beyond.

Two point sources imaged at 1.4 NA, 525 nm. At 230 nm (\(0.61\,\lambda/\mathrm{NA}\)) they are just resolved. Right: the frequencies a widefield image can hold (dark disc), and the region lattice SIM reaches by shifting copies of that disc (green).
No processing can recover frequencies the optics never passed. There are three ways to work with the limit:
- Undo the blur inside the passband. Within \(2\,\mathrm{NA}/\lambda\) the optics weaken fine detail but do not erase it. Deconvolution restores it: sharper, higher contrast, less out-of-focus haze, but not beyond the limit.
- Move new detail into the passband. Structured illumination (SIM) lights the sample with a known fine pattern. Its moiré shifts detail from beyond the cutoff into the passband, and the reconstruction moves it back to where it belongs: up to about twice the widefield resolution. This is super-resolution.
- Trade resolution for depth. A light-field microscope records the direction of the light as well as its position, through a lenslet array, so one camera frame holds a whole 3D volume, at a lower lateral resolution than widefield. It is fast 3D imaging, not super-resolution.
2. Optical design¶

Top: a widefield microscope forms one image of the focal plane. Bottom: a Fourier light-field microscope puts lenslets at an image of the pupil; each lenslet sees the sample from its own direction.
- The objective collects light within a cone of half-angle \(\alpha\); \(\mathrm{NA} = n \sin\alpha\) sets both the resolution and how much light is collected. Oil objectives (\(n = 1.518\)) reach NA 1.4.
- Magnification and pixels. The tube lens forms the image on the camera, and the magnification sets the pixel size in the sample. To record everything the optics pass, a pixel must be at most \(\lambda / (4\,\mathrm{NA})\) (Nyquist): 94 nm at 525 nm and NA 1.4. The Elyra's 62.6 nm pixels meet that; the reconstruction grid is twice as fine (31.3 nm), to hold what SIM recovers.
- Widefield or confocal. A widefield camera collects light from the whole depth of the sample, so out-of-focus planes add haze. A confocal pinhole rejects that light, which gives optical sectioning, at the cost of scanning the sample point by point.
- Light field. Lenslets at an image of the pupil split it into 37 views. Structures at different depths shift by different amounts between the views (parallax), so one camera frame encodes the 3D volume. Each view uses only part of the aperture, so the lateral resolution is lower than widefield.
In pySRX, optics.ConfocalOptics (NA, medium, wavelengths) builds widefield and
confocal PSFs, and optics.LightfieldCalib holds the calibrated lenslet geometry
from which one PSF per view is built.
3. Illumination¶

Simulated at 1.4 NA, 525 nm. Lines 154 nm apart are finer than the optics pass, so the widefield image loses them. Lit by stripes 204 nm apart, the same lines produce a coarse moiré that does pass. The Elyra lights the sample with a 2D lattice instead, shifted through 13 phases.

The phases step the pattern across the sample. Each step moves the moiré in the camera image; from the 13 images the reconstruction separates the shifted copies of the spectrum. Bottom: the lattice is the one fitted from the Elyra data on this site, with its 13 real phase steps.
- Widefield lights the whole field evenly; the resolution is set by the detection optics alone.
- Confocal scans a focused spot; the excitation and detection PSFs multiply, which sharpens the result a little and rejects out-of-focus light.
- Structured illumination (SIM) uses a known pattern. Multiplying the sample by a pattern of frequency \(k\) shifts the sample's spectrum by \(\pm k\): detail up to \(2\,\mathrm{NA}/\lambda + k\) now reaches the camera as moiré. Several phases of the pattern let the reconstruction separate the shifted copies and put each one back. With \(k\) near the cutoff, the resolution roughly doubles.
- Lattice SIM (ZEISS Elyra) uses a 2D lattice, which covers every direction
at once; 13 phase steps per plane separate its orders. Its exact period, angle
and phases vary between acquisitions, so pySRX fits them from the raw data
(
optics.sim.estimate_pattern). - Light field uses widefield illumination: the extra information comes from the detection side.
The illumination is part of the forward operator: forward.sim.SimOperator
multiplies the sample by the fitted pattern before the optics blur it.
4. Imaging sensor and noise¶

Simulated Poisson images of one cell at three light levels. Right: for a photon counter the variance equals the mean; a camera multiplies by its gain, adds read noise, and its fixed pattern adds offsets that are the same in every frame.
- Photon noise. Photons arrive at random: the count in a pixel is Poisson, with variance equal to its mean, so the signal-to-noise ratio is \(\sqrt{N}\). 100 photons carry 10 % noise; 10 photons, 32 %. This limits what any reconstruction can recover at a given dose.
- The camera (sCMOS) turns photoelectrons into counts and adds its own terms: an offset in every pixel (92 counts on the Elyra data in this guide; subtract it first), a gain (counts per photoelectron), read noise (about 1 to 2 electrons rms), and a fixed pattern of pixel and column offsets that is the same in every frame.
- Why it matters. The Poisson likelihood that every pySRX solver uses assumes
counts above the offset.
camera.photon_transfermeasures gain and read noise from the data (variance against mean), andcamera.fixed_patternandremove_fixed_patternhandle the fixed pattern. The same assumptions decide whether a split FRC is valid: see Measure and plot. To measure the offset, read noise and gain of every pixel of your own camera, see sCMOS camera calibration.
Putting it together. The camera records a blurred, noisy copy of the sample. The blur comes from the optics and the illumination, the noise from counting a limited number of photons, and the camera adds its own terms. If you can write down exactly how the microscope turns a sample into a camera image, you can work backwards: find the sample that, sent through the same microscope, best explains the image you recorded. That is reconstruction.
pySRX writes the microscope down once per modality, as a forward operator, and every reconstruction method works backwards through that same operator.