AngleFromGratingEquation

class jwst.transforms.models.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.

n_inputs

n_outputs

order

Spectral order.

param_names

Methods Summary

__call__(*inputs[, model_set_axis, …])

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 = Parameter('groove_density', value=nan)

Grating ruling density.

n_inputs = 4
n_outputs = 3
order = Parameter('order', value=-1.0)

Spectral order.

param_names = ('groove_density', 'order')

Methods Documentation

__call__(*inputs, model_set_axis=None, with_bounding_box=False, fill_value=nan, equivalencies=None, inputs_map=None, **new_inputs)

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.