Sky2Pix_HEALPix¶
-
class
astropy.modeling.projections.
Sky2Pix_HEALPix
(H=4.0, X=3.0, **kwargs)[source]¶ Bases:
astropy.modeling.projections.Sky2PixProjection
,astropy.modeling.projections.HEALPix
HEALPix projection - sky to pixel.
Corresponds to the
HPX
projection in FITS WCS.- Parameters
- H
python:float
The number of facets in longitude direction.
- X
python:float
The number of facets in latitude direction.
- H
Attributes Summary
Names of the parameters that describe models of this type.
Methods Summary
evaluate
(phi, theta, H, X)Evaluate the model on some input variables.
Attributes Documentation
-
H
= Parameter('H', value=4.0)¶
-
X
= Parameter('X', value=3.0)¶
-
param_names
= ('H', 'X')¶ 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.
Methods Documentation