xyz_from_ra_dec¶
- rubin_sim.utils.xyz_from_ra_dec(ra, dec)¶
Utility to convert RA,dec positions in x,y,z space.
- Parameters:
- rafloat or array
RA in degrees
- decfloat or array
Dec in degrees
- Returns:
- x,y,zfloats or arrays
The position of the given points on the unit sphere.