RotateNative2Celestial

class astropy.modeling.rotations.RotateNative2Celestial(lon, lat, lon_pole, **kwargs)[source]

Bases: astropy.modeling.rotations._SkyRotation

Transform from Native to Celestial Spherical Coordinates.

Parameters
lonfloat or or Quantity

Celestial longitude of the fiducial point.

latfloat or or Quantity

Celestial latitude of the fiducial point.

lon_polefloat or or Quantity

Longitude of the celestial pole in the native system.

Notes

If lon, lat and lon_pole are numerical values they should be in units of deg.

Attributes Summary

input_units

Input units.

inputs

Inputs are angles on the native sphere

outputs

Outputs are angles on the celestial sphere

param_names

return_units

Output units.

Methods Summary

__call__(self, phi_N, theta_N[, …])

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

evaluate(self, phi_N, theta_N, lon, lat, …)

Parameters

Attributes Documentation

input_units

Input units.

inputs = ('phi_N', 'theta_N')

Inputs are angles on the native sphere

outputs = ('alpha_C', 'delta_C')

Outputs are angles on the celestial sphere

param_names = ('lon', 'lat', 'lon_pole')
return_units

Output units.

Methods Documentation

__call__(self, phi_N, theta_N, 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.

evaluate(self, phi_N, theta_N, lon, lat, lon_pole)[source]
Parameters
phi_N, theta_Nfloat (deg) or Quantity

Angles in the Native coordinate system.

lon, lat, lon_polefloat (in deg) or Quantity

Parameter values when the model was initialized.

Returns
alpha_C, delta_Cfloat (deg) or Quantity

Angles on the Celestial sphere.