ecliptic_to_equatorial
- ssapy.utils.ecliptic_to_equatorial(lon, lat, degrees=False)[source][source]
Convert ecliptic longitude/latitude to equatorial RA/declination.
- Parameters:
lon (float or array-like) – Ecliptic coordinates. Values are degrees when
degreesis True and radians otherwise.lat (float or array-like) – Ecliptic coordinates. Values are degrees when
degreesis True and radians otherwise.degrees (bool, optional) – If True, use degrees for inputs and outputs. Otherwise, use radians.
- Returns:
Right ascension and declination.
- Return type: