VerticalTilt#
- class deeptrack.aberrations.VerticalTilt(*args: tuple[Any, ...], coefficient: PropertyLike[float | list[float]] = 1, **kwargs: dict[str, Any])#
Bases:
ZernikeZernike polynomial with n=1, m=-1.
This class represents a Zernike polynomial corresponding to a vertical tilt aberration. It introduces a linear phase variation across the aperture aligned with the vertical axis.
Parameters#
- coefficient: PropertyLike[float or list of floats], optional
The coefficient of the polynomial. Default is 1.
Attributes#
- n: int
The radial index of the Zernike polynomial (always 1 for VerticalTilt).
- m: int
The azimuthal index of the Zernike polynomial (always -1 for VerticalTilt).
- coefficient: PropertyLike[float or list of floats]
The coefficient of the polynomial.
Examples#
Apply a VerticalTilt Zernike phase aberration (n=1, m=-1) to a simulated fluorescence image:
>>> import deeptrack as dt
>>> particle = dt.PointParticle(z=1 * dt.units.micrometer) >>> vertical_tilt_aberration = dt.VerticalTilt(coefficient=-10) >>> aberrated_optics = dt.Fluorescence( >>> pupil=vertical_tilt_aberration, >>> ) >>> aberrated_particle = aberrated_optics(particle) >>> aberrated_particle.plot(cmap="gray")