ra_dec_from_xyz¶
- rubin_sim.utils.ra_dec_from_xyz(x, y, z)¶
Utility to convert x,y,z Cartesian coordinates to RA, dec positions in space.
- Parameters:
- xfloat or array
The position on the x-axis of the given points on the unit sphere
- yfloat or array
The position on the y-axis of the given points on the unit sphere
- zfloat or array
The position on the z-axis of the given points on the unit sphere
- Returns:
- ra, decfloats or arrays
Ra and dec coordinates in degrees.