WavelengthFromGratingEquation

class jwst.transforms.models.WavelengthFromGratingEquation(groove_density, order, **kwargs)[source]

Bases: astropy.modeling.core.Model

Solve the 3D Grating Dispersion Law for the wavelength.

Parameters:
  • groove_density (int) – Grating ruling density.
  • order (int) – Spectral order.

Attributes Summary

groove_density Grating ruling density.
inputs three angle - alpha_in and beta_in going into the grating and alpha_out coming out of the grating.
order Spectral order.
outputs Wavelength.
param_names

Methods Summary

__call__(alpha_in, beta_in, alpha_out[, …]) Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated.
evaluate(alpha_in, beta_in, alpha_out, …) Evaluate the model on some input variables.

Attributes Documentation

groove_density

Grating ruling density.

inputs = ('alpha_in', 'beta_in', 'alpha_out')

three angle - alpha_in and beta_in going into the grating and alpha_out coming out of the grating.

order

Spectral order.

outputs = ('lam',)

Wavelength.

param_names = ('groove_density', 'order')

Methods Documentation

__call__(alpha_in, beta_in, alpha_out, model_set_axis=None, with_bounding_box=False, fill_value=nan, equivalencies=None)

Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated.

evaluate(alpha_in, beta_in, alpha_out, groove_density, order)[source]

Evaluate the model on some input variables.