ObliqueAstigmatism#
- class deeptrack.aberrations.ObliqueAstigmatism(*args: tuple[Any, ...], coefficient: PropertyLike[float | list[float]] = 1, **kwargs: dict[str, Any])#
Bases:
ZernikeZernike polynomial with n=2, m=-2.
This class represents a Zernike polynomial corresponding to oblique astigmatism, characterized by a phase aberration with a radial index of n=2 and an azimuthal index of m=-2. It describes astigmatism with axes oriented obliquely to the horizontal and vertical.
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 2 for ObliqueAstigmatism).
- m: int
The azimuthal index of the Zernike polynomial (always -2 for ObliqueAstigmatism).
- coefficient: PropertyLike[float or list of floats]
The coefficient of the polynomial.
Examples#
Apply an ObliqueAstigmatism Zernike phase aberration (n=2, m=-2) to a simulated fluorescence image:
>>> import deeptrack as dt
>>> particle = dt.PointParticle(z=4 * dt.units.micrometer) >>> oblique_astigmatism_aberration = dt.ObliqueAstigmatism(coefficient=0.2) >>> aberrated_optics = dt.Fluorescence( >>> pupil=oblique_astigmatism_aberration, >>> ) >>> aberrated_particle = aberrated_optics(particle) >>> aberrated_particle.plot(cmap="gray")