IdealToV2V3

class jwst.transforms.models.IdealToV2V3(v3idlyangle, v2ref, v3ref, vparity, name='idl2V', **kwargs)[source]

Bases: astropy.modeling.core.Model

Performs the transform from Ideal to telescope V2,V3 coordinate system. The two systems have the same origin: V2_REF, V3_REF.

Note: This model has no schema implemented - add schema if needed.

Attributes Summary

n_inputs

n_outputs

param_names

v2ref

v3idlyangle

v3ref

vparity

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(xidl, yidl, v3idlyangle, v2ref, …)

param xidl, yidl

Coordinates in Ideal System [in arcsec]

Attributes Documentation

n_inputs = 2
n_outputs = 2
param_names = ('v3idlyangle', 'v2ref', 'v3ref', 'vparity')
v2ref = Parameter('v2ref', value=nan)
v3idlyangle = Parameter('v3idlyangle', value=nan)
v3ref = Parameter('v3ref', value=nan)
vparity = Parameter('vparity', value=nan)

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(xidl, yidl, v3idlyangle, v2ref, v3ref, vparity)[source]
Parameters
  • yidl (xidl,) – Coordinates in Ideal System [in arcsec]

  • v3idlyangle (float) – Angle between Ideal Y-axis and V3 [ in deg]

  • v3ref (v2ref,) – Coordinates in V2, V3 [in arcsec]

  • vparity (int) – Parity.

Returns

v2, v3 – Coordinates in the (V2, V3) telescope system [in arcsec].

Return type

ndarray-like