IdealToV2V3
- class stdatamodels.jwst.transforms.IdealToV2V3(v3idlyangle, v2ref, v3ref, vparity, name='idl2V', **kwargs)
Bases:
ModelPerform the transform from Ideal to telescope V2,V3 coordinate system.
The two systems have the same origin: V2_REF, V3_REF.
Note that this model has no schema implemented.
Attributes Summary
Names of the parameters that describe models of this type.
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, ...)Transform from Ideal to V2, V3 telescope system.
Attributes Documentation
- n_inputs = 2
- n_outputs = 2
- param_names = ('v3idlyangle', 'v2ref', 'v3ref', 'vparity')
Names of the parameters that describe models of this type.
The parameters in this tuple are in the same order they should be passed in when initializing a model of a specific type. Some types of models, such as polynomial models, have a different number of parameters depending on some other property of the model, such as the degree.
When defining a custom model class the value of this attribute is automatically set by the ~astropy.modeling.Parameter attributes defined in the class body.
- v2ref
- v3idlyangle
- v3ref
- vparity
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)
Transform from Ideal to V2, V3 telescope system.
- Parameters:
- xidl, yidlndarray-like
Coordinates in Ideal System [in arcsec]
- v3idlyanglefloat
Angle between Ideal Y-axis and V3 [ in deg]
- v2ref, v3refndarray-like
Coordinates in V2, V3 [in arcsec]
- vparityint
Parity.
- Returns:
- v2, v3ndarray-like
Coordinates in the (V2, V3) telescope system [in arcsec].