"""Utilities for performing fun math on healpix pixels"""

from .healpix_pixel import HealpixPixel
from .hipscat_id import compute_hipscat_id, hipscat_id_to_healpix
from .margin_bounding import (
    check_margin_bounds,
    check_polar_margin_bounds,
    get_margin_bounds_and_wcs,
    get_margin_scale,
)
from .partition_stats import (
    compute_pixel_map,
    empty_histogram,
    generate_alignment,
    generate_constant_pixel_map,
    generate_destination_pixel_map,
    generate_histogram,
)
from .pixel_margins import (
    get_edge,
    get_margin,
    get_truncated_margin_pixels,
    pixel_is_polar,
)
from .healpix_pixel_convertor import (
    get_healpix_pixel,
    HealpixInputTypes,
)
