Gwa2Slit¶
-
class
jwst.transforms.Gwa2Slit(slits, models)[source]¶ Bases:
astropy.modeling.core.ModelNIRSpec GWA to slit transform.
Parameters: - slits (list) – A list of open slits.
A slit is a namedtupe of type
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 and the three angle coordinates at the GWA going from detector to sky. outputsName of the slit, x and y coordinates within the virtual slit and wavelength. slitsMethods Summary
__call__(name, angle1, angle2, angle3[, …])Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated. evaluate(name, x, y, z)Evaluate the model on some input variables. get_model(name)Attributes Documentation
-
inputs= ('name', 'angle1', 'angle2', 'angle3')¶ Name of the slit and the three angle coordinates at the GWA going from detector to sky.
-
outputs= ('name', 'x_slit', 'y_slit', 'lam')¶ Name of the slit, x and y coordinates within the virtual slit and wavelength.
-
slits¶
Methods Documentation
-
__call__(name, angle1, angle2, angle3, 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 of type