apodization.gaussian
Gaussian Apodization Module
This module provides a class for Gaussian apodization, which applies a Gaussian profile to scale the intensities of rays based on their position in the pupil.
Kramer Harrison, 2025
Classes
|
Gaussian apodization, scaling intensities based on a Gaussian profile. |
- class GaussianApodization(sigma: float = 1.0)[source]
Gaussian apodization, scaling intensities based on a Gaussian profile.
- classmethod from_dict(data)[source]
Creates an instance of GaussianApodization from a dictionary.
Note
The dictionary must contain the key “sigma” with a positive float value. Otherwise, it defaults to 1.0.
- Parameters:
data (dict) – A dictionary representation of the apodization.
- Returns:
An instance of the GaussianApodization class.
- Return type: