Pix2Sky_HEALPix

class astropy.modeling.projections.Pix2Sky_HEALPix(H=4.0, X=3.0, **kwargs)[source]

Bases: astropy.modeling.projections.Pix2SkyProjection, astropy.modeling.projections.HEALPix

HEALPix - pixel to sky.

Corresponds to the HPX projection in FITS WCS.

Parameters
Hfloat

The number of facets in longitude direction.

Xfloat

The number of facets in latitude direction.

Attributes Summary

H

X

param_names

Names of the parameters that describe models of this type.

Methods Summary

evaluate(x, y, 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

classmethod evaluate(x, y, H, X)[source]

Evaluate the model on some input variables.