toIndex

lsst.pipe.tasks.associationUtils.toIndex(nside, ra, dec)

Return healpix index given ra, dec in degrees

Parameters:
nside : int

Power of 2 nside healpix resolution.

ra : float

RA in degrees.

dec : float

Declination in degrees

Returns:
index : int

Unique healpix pixel ID containing point RA, DEC at resolution nside.