Snell

class jwst.transforms.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

n_inputs

n_outputs

standard_broadcasting

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
n_outputs = 3
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.

static compute_refraction_index(lam, temp, tref, pref, pressure, kcoef, lcoef, tcoef)[source]

Calculate and retrun the refraction index.

evaluate(lam, alpha_in, beta_in, zin)[source]

Go through the prism