equatorial_to_ecliptic

ssapy.utils.equatorial_to_ecliptic(right_ascension, declination, degrees=False)[source][source]

Convert equatorial RA/declination to ecliptic longitude/latitude.

Parameters:
  • right_ascension (float or array-like) – Equatorial coordinates. Values are degrees when degrees is True and radians otherwise.

  • declination (float or array-like) – Equatorial coordinates. Values are degrees when degrees is True and radians otherwise.

  • degrees (bool, optional) – If True, use degrees for inputs and outputs. Otherwise, use radians.

Returns:

Ecliptic longitude and latitude.

Return type:

tuple