ra_dec2_hpid¶
- rubin_sim.utils.ra_dec2_hpid(nside, ra, dec, **kwargs)¶
Assign ra,dec points to the correct healpixel.
- Parameters:
- nsideint
Must be a value of 2^N.
- ranp.array
RA values to assign to healpixels. Degrees.
- decnp.array
Dec values to assign to healpixels. Degrees.
- Returns:
- hpidsnp.array
Healpixel IDs for the input positions.