Module zuniq#

The module healpix_geo.zuniq gives functions for the zuniq scheme, utilised for MOC (Multi-Order Coverage).

Conversions#

Conversions between schemes nested et zuniq.

from_nested(ipix, depth[, num_threads])

Convert from nested to zuniq

to_nested(ipix[, num_threads])

Convert from zuniq to nested

See also

Complete tutorial : Advanced coordinate conversion

Coordinates Conversions#

healpix_to_lonlat(ipix, ellipsoid[, num_threads])

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.

healpix_to_cartesian(ipix[, ellipsoid, ...])

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

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

Get the HEALPix indexes that contain specific points.

vertices(ipix, ellipsoid[, step, num_threads])

Get the longitudes and latitudes of the vertices of some HEALPix cells in zuniq encoding.

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, ring[, num_threads])

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

kth_neighbourhood(ipix, ring[, num_threads])

Get the kth ring neighbouring cells of some HEALPix cells.

Coverage#

Find all cells which intersect a region.

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

Search the cells covering the given box.

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

Search the cells covering the given bounding 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.

See also

Complete tutorial : Cover requests