Vignetting¶
- class kgpy.optics.aberration.Vignetting(wavelength, spatial_mesh, unvignetted_percent, mask, polynomial_degree=1)¶
Bases:
object- Parameters
- __init__(wavelength, spatial_mesh, unvignetted_percent, mask, polynomial_degree=1)¶
Attributes
Methods
__init__(wavelength, spatial_mesh, ...[, ...])apply_model(model, cube, wavelength, ...)model([inverse])plot(wavelength, spatial_mesh, data[, axs, ...])plot_residual([axs, config_index, other, ...])plot_unvignetted([axs, config_index, other, ...])residual([other, inverse])- rtype
Inheritance Diagram
- static apply_model(model, cube, wavelength, spatial_min, spatial_max)¶
- Parameters
model (Polynomial3D) –
cube (ndarray) –
wavelength (Quantity) –
spatial_min (Vector2D) –
spatial_max (Vector2D) –
- static plot(wavelength, spatial_mesh, data, axs=None, config_index=None, data_name='', use_titles=True, use_xlabels=True, wavelength_name=None)¶
- Return type
- Parameters
- plot_residual(axs=None, config_index=None, other=None, inverse=False, use_titles=True, use_xlabels=True, wavelength_name=None)¶
- Return type
- Parameters
- plot_unvignetted(axs=None, config_index=None, other=None, inverse=False, use_titles=True, use_xlabels=True, wavelength_name=None)¶
- Return type
- Parameters
- residual(other=None, inverse=False)¶
- Return type
- Parameters
other (Optional[Vignetting]) –
inverse (bool) –
-
mask:
numpy.ndarray¶
-
spatial_mesh:
kgpy.vector.Vector2D¶
-
unvignetted_percent:
astropy.units.Quantity¶
-
wavelength:
astropy.units.Quantity¶