Snell3D

class gwcs.spectroscopy.Snell3D(**kwargs)[source]

Bases: 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

linear

n_inputs

The number of inputs.

n_outputs

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.

evaluate(n, alpha_in, beta_in, gamma_in)

Evaluate the model on some input variables.

Attributes Documentation

linear = False
n_inputs = 4

The number of inputs.

n_outputs = 3

The number of outputs.

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 evaluate(n, alpha_in, beta_in, gamma_in)[source]

Evaluate the model on some input variables.