get_sun_P

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

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.

Parameters:time (various) – Time to use as Time or in a parse_time-compatible format
Returns:out (Angle) – The position angle