hats.pixel_math.healpix_pixel_convertor
=======================================

.. py:module:: hats.pixel_math.healpix_pixel_convertor


Functions
---------

.. autoapisummary::

   hats.pixel_math.healpix_pixel_convertor.get_healpix_pixel
   hats.pixel_math.healpix_pixel_convertor.get_healpix_tuple


Module Contents
---------------

.. py:function:: get_healpix_pixel(pixel: hats.pixel_math.healpix_pixel.HealpixPixel | tuple[int, int]) -> hats.pixel_math.healpix_pixel.HealpixPixel

   
   Function to convert argument of either HealpixPixel or a tuple of (order, pixel) to a
   HealpixPixel


   :Parameters:

       **pixel** : HealpixPixel | tuple[int, int]
           an object to be converted to a HealpixPixel object



   :Returns:

       HealpixPixel
           the pixel











   ..
       !! processed by numpydoc !!

.. py:function:: get_healpix_tuple(pixel: hats.pixel_math.healpix_pixel.HealpixPixel | tuple[int, int]) -> tuple[int, int]

   
   Function to convert argument of either HealpixPixel or a tuple of (order, pixel) to a
   tuple of (order, pixel)


   :Parameters:

       **pixel** : HealpixPixel | tuple[int, int]
           an object to be converted to a HealpixPixel object



   :Returns:

       tuple[int, int]
           tuples representing order and pixel data











   ..
       !! processed by numpydoc !!

