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 (flaot) – 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

inputs
outputs
standard_broadcasting

Methods Summary

__call__(lam, alpha_in, beta_in, zin[, …]) 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

inputs = ('lam', 'alpha_in', 'beta_in', 'zin')
outputs = ('alpha_out', 'beta_out', 'zout')
standard_broadcasting = False

Methods Documentation

__call__(lam, alpha_in, beta_in, zin, 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.

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