Module nested#

The module healpix_geo.nested gives functions for the nested indexing scheme.

Coordinates Conversions#

Conversions between geographic coordinates and HEALPix indices.

healpix_to_lonlat(ipix, depth[, ellipsoid, ...])

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

lonlat_to_healpix(longitude, latitude, depth)

Get the HEALPix indexes that contains specific points.

vertices(ipix, depth, ellipsoid[, step, ...])

Get the longitudes and latitudes of the vertices of some HEALPix cells at a given depth.

See also

Tutorial complete : Advanced coordinate conversion

Hierarchy and neighborhood#

Navigation in the hierarchical structure of HEALPix.

kth_neighbourhood(ipix, depth, ring[, ...])

Get the kth ring neighbouring cells of some HEALPix cells at a given depth.

zoom_to(ipix, depth, new_depth[, num_threads])

Change the resolutions the given cell ids

siblings(ipix, depth[, num_threads])

Find the siblings for every cell

See also

Complete tutorial : Hierarchical Indexing

Cover Requests#

Find all the cells which intersect a region.

zone_coverage(bbox, depth, *[, ellipsoid, flat])

Search the cells covering the given bounding box

box_coverage(center, size, angle, depth, *)

Search the cells covering the given box.

polygon_coverage(vertices, depth, *[, ...])

Search the cells covering the given polygon.

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

Search the cells covering the given cone

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

Search the cells covering the given elliptical cone.

internal_boundary(depth, ipix)

Extract the internal boundary from a list of cells

See also

Complete tutorial : Cover requests

Distance Calculations#

Calculate distances between HEALPix cells.

angular_distances(from_, to_, depth[, ...])

Compute the angular distances between cell centers

Indexes and data structure#

Classes to manipulate HEALPix cell sets.

RangeMOCIndex()

range-based index of healpix cell ids