Skip to main content
`Ctrl`+`K`

# Pix2Sky_HEALPix

class astropy.modeling.projections.Pix2Sky_HEALPix(*args, **kwargs)

  Bases: `Pix2SkyProjection`, `HEALPix`

  HEALPix - pixel to sky.

  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.

  Attributes Summary

  `H` |
  `X` |
  `param_names` | Names of the parameters that describe models of this type.

  Attributes Documentation

  H = _ParameterDS('H', value=4.0)
  X = _ParameterDS('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.