Snell3D¶
-
class
gwcs.spectroscopy.
Snell3D
(**kwargs)[source]¶ Bases:
astropy.modeling.Model
Snell model in 3D form.
Inputs are index of refraction and direction cosines.
- Returns
- alpha_out, beta_out, gamma_outfloat
Direction cosines.
Attributes Summary
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.
evaluate
(n, alpha_in, beta_in, gamma_in)Evaluate the model on some input variables.
Attributes Documentation
-
linear
= False¶
-
n_inputs
= 4¶
-
n_outputs
= 3¶
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.