AngleFromGratingEquation

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

Bases: astropy.modeling.core.Model

Solve the 3D Grating Dispersion Law for the refracted angle.

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

Attributes Summary

groove_density Grating ruling density.
inputs Wavelength and 3 angle coordinates going into the grating.
order Spectral order.
outputs Three angles coming out of the grating.
param_names

Methods Summary

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

Attributes Documentation

groove_density

Grating ruling density.

inputs = ('lam', 'alpha_in', 'beta_in', 'z')

Wavelength and 3 angle coordinates going into the grating.

order

Spectral order.

outputs = ('alpha_out', 'beta_out', 'zout')

Three angles coming out of the grating.

param_names = ('groove_density', 'order')

Methods Documentation

__call__(lam, alpha_in, beta_in, z, 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(lam, alpha_in, beta_in, z, groove_density, order)[source]

Evaluate the model on some input variables.