hpid2_ra_dec

rubin_sim.utils.hpid2_ra_dec(nside, hpids, **kwargs)

Correct for healpy being silly and running dec from 0-180.

Parameters:
nsideint

Must be a value of 2^N.

hpidsnp.array

Array (or single value) of healpixel IDs.

Returns:
raRetfloat (or np.array)

RA positions of the input healpixel IDs. In degrees.

decRetfloat (or np.array)

Dec positions of the input healpixel IDs. In degrees.