toIndex

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

Return healpix index given ra, dec in degrees

Parameters:
nsideint

Power of 2 nside healpix resolution.

rafloat

RA in degrees.

decfloat

Declination in degrees

Returns:
indexint

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