hats.pixel_math.healpix_pixel_convertor#
Functions#
|
Function to convert argument of either HealpixPixel or a tuple of (order, pixel) to a |
|
Function to convert argument of either HealpixPixel or a tuple of (order, pixel) to a |
Module Contents#
- get_healpix_pixel(pixel: hats.pixel_math.healpix_pixel.HealpixPixel | tuple[int, int]) hats.pixel_math.healpix_pixel.HealpixPixel [source]#
Function to convert argument of either HealpixPixel or a tuple of (order, pixel) to a HealpixPixel
- Parameters:
pixel – an object to be converted to a HealpixPixel object
- get_healpix_tuple(pixel: hats.pixel_math.healpix_pixel.HealpixPixel | tuple[int, int]) tuple[int, int] [source]#
Function to convert argument of either HealpixPixel or a tuple of (order, pixel) to a tuple of (order, pixel)
- Parameters:
pixel – an object to be converted to a HealpixPixel object