ObliqueTrefoil#

class deeptrack.aberrations.ObliqueTrefoil(*args: tuple[Any, ...], coefficient: PropertyLike[float | list[float]] = 1, **kwargs: dict[str, Any])#

Bases: Zernike

Zernike polynomial with n=3, m=-3.

This class represents the Zernike polynomial for oblique trefoil aberration, characterized by a radial index of n=3 and an azimuthal index of m=-3. It describes phase aberrations with triangular symmetry.

Parameters#

coefficient: PropertyLike[float or list of floats], optional

The coefficient of the polynomial. Default is 1.

Examples#

Apply an Oblique Trefoil Zernike phase aberration (n=3, m=-3) to a simulated fluorescence image:

>>> import deeptrack as dt
>>> particle = dt.PointParticle(z=0 * dt.units.micrometer)
>>> oblique_trefoil = dt.ObliqueTrefoil(coefficient=1.1)
>>> aberrated_optics = dt.Fluorescence(
>>>     pupil=oblique_trefoil,
>>> )
>>> aberrated_particle = aberrated_optics(particle)
>>> aberrated_particle.plot(cmap="gray")