sunpy.coordinates.ephemeris.get_sun_P(time='now') [edit on github]

Deprecated since version 1.0: The get_sun_P function is deprecated and may be removed in a future version. Use sunpy.coordinates.sun.P instead.

Return the position (P) angle for the Sun at a specified time, which is the angle between geocentric north and solar north as seen from Earth, measured eastward from geocentric north. The range of P is +/-26.3 degrees.


time (tuple, str, pandas.Timestamp, pandas.Series, pandas.DatetimeIndex, datetime.datetime,, numpy.datetime64, numpy.ndarray, astropy.time.Time) – Time to use in a parse_time-compatible format


out (Angle) – The position angle