Aberration#

class deeptrack.aberrations.Aberration(_input: Any = [], **kwargs: dict[str, Any])#

Bases: Feature

Base class for optical aberrations.

This class represents a generic optical aberration. It computes the radial (rho) and angular (theta) pupil coordinates for each input image, normalizes rho by the maximum value within the non-zero region of the image, and passes these coordinates for further processing.

Parameters#

Some common parameters inherited from Feature, such as sigma, offset, etc., depending on the specific subclass.

Attributes#

__distributed__: bool

Indicates that the feature can be distributed across multiple processing units.

Methods#

_process_and_get(image_list: list[np.ndarray], **kwargs: dict) -> list[np.ndarray]

Processes a list of input images to compute pupil coordinates (rho and theta) and passes them, along with the original images, to the superclass method for further processing.