sunPos

ssapy.utils.sunPos(t, fast=True)[source][source]

Compute GCRF position of the sun.

Parameters:
  • t (float or astropy.time.Time) – If float or array of float, then should correspond to GPS seconds; i.e., seconds since 1980-01-06 00:00:00 UTC

  • fast (bool) – Use fast approximation?

Returns:

r – position in meters

Return type:

array_like (n)