Snell¶
-
class
jwst.transforms.models.
Snell
(angle, kcoef, lcoef, tcoef, tref, pref, temperature, pressure, name=None)[source]¶ Bases:
astropy.modeling.core.Model
Apply transforms, including Snell law, through the NIRSpec prism.
- Parameters
angle (float) – Prism angle in deg.
kcoef (list) – K coefficients in Sellmeir equation.
lcoef (list) – L coefficients in Sellmeir equation.
tcoef (list) – Thermal coefficients of glass.
tref (float) – Refernce temperature in K.
pref (float) – Refernce pressure in ATM.
temperature (float) – System temperature during observation in K
pressure (float) – System pressure during observation in ATM.
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.
compute_refraction_index
(lam, temp, tref, …)Calculate and retrun the refraction index.
evaluate
(lam, alpha_in, beta_in, zin)Go through the prism
Attributes Documentation
-
n_inputs
= 4¶ The number of inputs.
-
n_outputs
= 3¶ 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.