hipscat.pixel_math.healpix_pixel_convertor#

Module Contents#

Functions#

get_healpix_pixel(...)

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

get_healpix_tuple(→ Tuple[int, int])

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

Attributes#

HealpixInputTypes

HealpixInputTypes[source]#
get_healpix_pixel(pixel: HealpixInputTypes) hipscat.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: HealpixInputTypes) 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