# NIRCAMForwardRowGrismDispersion¶

class jwst.transforms.NIRCAMForwardRowGrismDispersion(orders, lmodels=None, xmodels=None, ymodels=None, name=None, meta=None)[source]

Bases: astropy.modeling.core.Model

Return the transform from grism to image for the given spectral order.

Parameters
• orders (list [int]) – List of orders which are available

• lmodels (list [astropy.modeling.Model]) – List of models which govern the wavelength solutions for each order

• xmodels (list [astropy.modeling.Model]) – List of models which govern the x solutions for each order

• ymodels (list [astropy.modeling.Model]) – List of models which givern the y solutions for each order

Returns

• x, y, wavelength, order in the grism image for the pixel at x0,y0 that was

• specified as input using the input delta pix for the specified order

Notes

The evaluation here is linear currently because higher orders have not yet been defined for NIRCAM (NIRCAM polynomials currently do not have any field dependence)

Attributes Summary

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(x, y, x0, y0, order) Return the transform from grism to image for the given spectral order.

Attributes Documentation

fittable = False
linear = False
n_inputs = 5
n_outputs = 4
standard_broadcasting = False

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(x, y, x0, y0, order)[source]

Return the transform from grism to image for the given spectral order.

Parameters
• x (float) – input x pixel

• y (float) – intput y pixel

• x0 (float) – input x-center of object

• y0 (float) – input y-center of object

• order (int) – the spectral order to use