1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// SPDX-License-Identifier: AGPL-3.0-only
// Copyright (C) 2026 Vallés Puig, Ramon
//! HEALPix grids, pixel indices, and frame-typed map containers.
//!
//! This module implements reusable library primitives for the Hierarchical Equal
//! Area isoLatitude Pixelisation (HEALPix) of the unit sphere. Public
//! pixelization APIs operate on typed [`crate::coordinates::cartesian::Direction`]
//! values so the same grid abstraction can be used with Galactic, equatorial,
//! ecliptic, or other reference frames without exposing frame-specific angular
//! names such as right ascension, declination, longitude, or latitude.
//!
//! Internally the RING kernel uses the standard spherical HEALPix variables
//! `theta`, `phi`, and `z = cos(theta)`.
//!
//! # References
//!
//! - Gorski, K. M. et al. (2005), "HEALPix: A Framework for High-Resolution
//! Discretization and Fast Analysis of Data Distributed on the Sphere",
//! Astrophysical Journal, 622, 759.
//! - Calabretta, M. R. and Roukema, B. F. (2007), "Mapping on the HEALPix grid",
//! Monthly Notices of the Royal Astronomical Society, 381, 865.
pub use ;
pub use HealpixGrid;
pub use HealpixIndex;
pub use HealpixMap;
pub use ;
pub use HealpixOrdering;
pub use direction_from_theta_phi;
pub use validate_healpix_map_complete;