Slit2Msa¶
-
class
jwst.transforms.Slit2Msa(slits, models)[source]¶ Bases:
astropy.modeling.core.ModelNIRSpec slit to MSA transform.
Parameters: - slits (list) – A list of open slits.
A slit is a namedtupe,
SlitSlit(“name”, “shutter_id”, “xcen”, “ycen”, “ymin”, “ymax”, “quadrant”, “source_id”, “shutter_state”, “source_name”, “source_alias”, “stellarity”, “source_xpos”, “source_ypos”) - models (list) – List of models (
Model) corresponding to the list of slits.
Attributes Summary
inputsName of the slit, x and y coordinates within the virtual slit. outputsx and y coordinates in the MSA frame. slitsMethods Summary
__call__(name, x_slit, y_slit[, …])Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated. evaluate(name, x, y)Evaluate the model on some input variables. get_model(name)Attributes Documentation
-
inputs= ('name', 'x_slit', 'y_slit')¶ Name of the slit, x and y coordinates within the virtual slit.
-
outputs= ('x_msa', 'y_msa')¶ x and y coordinates in the MSA frame.
-
slits¶
Methods Documentation
-
__call__(name, x_slit, y_slit, 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.
- slits (list) – A list of open slits.
A slit is a namedtupe,