equatorial_to_horizontal

ssapy.utils.equatorial_to_horizontal(observer_latitude, declination, right_ascension=None, hour_angle=None, local_time=None, hms=False)[source][source]

Convert equatorial coordinates to horizontal azimuth and altitude.

Parameters:
  • observer_latitude (float) – Latitude of the observer in degrees.

  • declination (float) – Declination of the object in degrees.

  • right_ascension (float, optional) – Right ascension of the object. Requires local_time.

  • hour_angle (float, optional) – Hour angle of the object.

  • local_time (float, optional) – Local time used to compute hour angle from right ascension.

  • hms (bool, optional) – If True, interpret hour angle or right ascension as HMS.

Returns:

Azimuth and altitude in degrees.

Return type:

tuple