ecliptic_xyz_to_equatorial
- ssapy.utils.ecliptic_xyz_to_equatorial(xc, yc, zc, xe=0, ye=0, ze=0, degrees=False)[source][source]
Convert ecliptic Cartesian coordinates to RA and declination.
- Parameters:
xc (float or array-like) – Object coordinates in the ecliptic frame.
yc (float or array-like) – Object coordinates in the ecliptic frame.
zc (float or array-like) – Object coordinates in the ecliptic frame.
xe (float or array-like, optional) – Reference-point coordinates in the ecliptic frame.
ye (float or array-like, optional) – Reference-point coordinates in the ecliptic frame.
ze (float or array-like, optional) – Reference-point coordinates in the ecliptic frame.
degrees (bool, optional) – If True, return angles in degrees. Otherwise, return radians.
- Returns:
Right ascension and declination.
- Return type: