Module auto#

The healpix_geo.auto module provides a indexing scheme-agnostic API.

Container#

Grid(level[, indexing_scheme, ellipsoid])

Coordinate Conversions#

healpix_to_lonlat(ipix, grid, *[, num_threads])

Get the longitudes and latitudes of the center of some HEALPix cells.

lonlat_to_healpix(lon, lat, grid, *[, ...])

Get the HEALPix indexes that contains specific points.

healpix_to_cartesian(ipix, grid[, num_threads])

Get the cartesian coordinates of the center of the given HEALPix cells.

cartesian_to_healpix(x, y, z, grid[, ...])

Get the HEALPix indexes that contain specific points.

vertices(ipix, grid, *[, step, num_threads])

Get the longitudes and latitudes of the vertices of some HEALPix cells.

Interpolation#

Interpolation from HEALPix to geographic coordinates.

bilinear_interpolation(longitude, latitude, ...)

Get the cell ids and weights necessary to bilinearly interpolate the given values.

Hierarchy and neighbourhood#

kth_neighbours(ipix, grid, *, ring[, ...])

Get the kth ring neighbouring cells of some HEALPix cells.

kth_neighbourhood(ipix, grid, *, ring[, ...])

Get the kth ring neighbouring cells of some HEALPix cells.

Coverage requests#

box_coverage(center, size, angle, grid, *[, ...])

Search the cells covering the given box.

zone_coverage(bbox, grid, *[, flat])

Search the cells covering the given bounding box

polygon_coverage(vertices, grid, *[, flat])

Search the cells covering the given polygon.

cone_coverage(center, radius, grid, *[, ...])

Search the cells covering the given cone

elliptical_cone_coverage(center, ...[, ...])

Search the cells covering the given elliptical cone.