NIRISSForwardColumnGrismDispersion¶
-
class
jwst.transforms.
NIRISSForwardColumnGrismDispersion
(orders, lmodels=None, xmodels=None, ymodels=None, theta=None, name=None, meta=None)[source]¶ Bases:
astropy.modeling.core.Model
This model calculates the wavelengths for horizontally dispersed NIRISS grism data.
The dispersion polynomial is relative to the input x,y pixels in the direct image for a given wavelength.
- Parameters
orders (list) – The list of orders which are available to the model.
xmodels (list[tuple]) – The list of tuple(models) for the polynomial model in x
ymodels (list[tuple]) – The list of tuple(models) for the polynomial model in y
lmodels (list) – The list of models for the polynomial model in wavelength.
theta (float) – Angle [deg] - defines the NIRISS filter wheel position
Notes
Given the x,y, source location, order, it returns the tuple of x,y,wavelength,order on the dispersed image. It also requires FWCPOS from the image header, this is the filter wheel position in degrees.
Attributes Summary
The number of inputs.
The number of outputs.
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 valid pixel(s) and wavelengths given center x,y and lam
Attributes Documentation
-
fittable
= False¶
-
linear
= False¶
-
n_inputs
= 5¶ The number of inputs.
-
n_outputs
= 4¶ The number of outputs.
-
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 valid pixel(s) and wavelengths given center x,y and lam
- Parameters
- Returns
x, y, lambda, order, in the direct image for the pixel that was
specified as input using the wavelength l and spectral order
Notes
There’s spatial dependence for NIRISS as well as rotation for the filter wheel