NirissSOSSModel

class jwst.transforms.models.NirissSOSSModel(spectral_orders, models)[source]

Bases: astropy.modeling.core.Model

NIRISS SOSS wavelength solution model.

Parameters
  • spectral_orders (list of int) – Spectral orders for which there is a wavelength solution.

  • models (list of Model) – A list of transforms representing the wavelength solution for each order in spectral orders. It should match the order in spectral_orders.

Attributes Summary

n_inputs

n_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, spectral_order)

Evaluate the model on some input variables.

get_model(spectral_order)

Attributes Documentation

n_inputs = 3
n_outputs = 3

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, spectral_order)[source]

Evaluate the model on some input variables.

get_model(spectral_order)[source]