RotateCelestial2Native

class astropy.modeling.rotations.RotateCelestial2Native[source] [edit on github]

Bases: astropy.modeling.rotations._SkyRotation

Transform from Celestial to Native to Spherical Coordinates.

Parameters:

lon : float

Celestial longitude of the fiducial point.

lat : float

Celestial latitude of the fiducial point.

lon_pole : float

Longitude of the celestial pole in the native system.

Attributes Summary

inputs
outputs
param_names

Methods Summary

__call__(alpha_C, delta_C[, model_set_axis]) Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated.
evaluate(alpha_C, delta_C, lon, lat, lon_pole) Rotate celestial coordinates into native spherical coordinates.

Attributes Documentation

inputs = (u'alpha_C', u'delta_C')
outputs = (u'phi_N', u'theta_N')
param_names = ('lon', 'lat', 'lon_pole')

Methods Documentation

__call__(alpha_C, delta_C, model_set_axis=None) [edit on github]

Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated.

classmethod evaluate(alpha_C, delta_C, lon, lat, lon_pole)[source] [edit on github]

Rotate celestial coordinates into native spherical coordinates.

This is the inverse transformation of RotateNative2Celestial.