V2V3ToIdeal

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

Bases: astropy.modeling.core.Model

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

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

Attributes Summary

inputs coorinates in the telescope (V2,V3) frame.
outputs x and y coordinates in the telescope Ideal frame.
param_names
v2ref
v3idlyangle
v3ref
vparity

Methods Summary

__call__(v2, v3[, model_set_axis, …]) Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated.
evaluate(v2, v3, v3idlyangle, v2ref, v3ref, …)
param xidl, yidl:
 Coordinates in Ideal System [in arcsec]

Attributes Documentation

inputs = ('v2', 'v3')

coorinates in the telescope (V2,V3) frame.

Type:(‘v2’, ‘v3’)
outputs = ('xidl', 'yidl')

x and y coordinates in the telescope Ideal frame.

Type:(‘xidl’, ‘yidl’)
param_names = ('v3idlyangle', 'v2ref', 'v3ref', 'vparity')
v2ref
v3idlyangle
v3ref
vparity

Methods Documentation

__call__(v2, v3, 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 evaluate(v2, v3, 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:

xidl, yidl – Coordinates in the Ideal telescope system [in arcsec].

Return type:

ndarray-like