Sky2Pix_SlantZenithalPerspective¶
- class astropy.modeling.projections.Sky2Pix_SlantZenithalPerspective(mu=0.0, phi0=0.0, theta0=0.0, **kwargs)[source]¶
Bases:
astropy.modeling.projections.Sky2PixProjection
,astropy.modeling.projections.Zenithal
Zenithal perspective projection - sky to pixel.
Corresponds to the
SZP
projection in FITS WCS.- Parameters
- mu
python:float
distance from point of projection to center of sphere in spherical radii, μ. Default is 0.
- phi0
python:float
The longitude φ₀ of the reference point, in degrees. Default is 0°.
- theta0
python:float
The latitude θ₀ of the reference point, in degrees. Default is 90°.
- mu
Attributes Summary
Names of the parameters that describe models of this type.
Methods Summary
evaluate
(phi, theta, mu, phi0, theta0)Attributes Documentation
- mu = Parameter('mu', value=0.0)¶
- param_names = ('mu', 'phi0', 'theta0')¶
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
Parameter
attributes defined in the class body.
- phi0 = Parameter('phi0', value=0.0)¶
- theta0 = Parameter('theta0', value=0.0)¶
Methods Documentation