position

sunpy.sun.position(t='now')[source] [edit on github]

Returns the position of the Sun (right ascension and declination) on the celestial sphere using the equatorial coordinate system in arcsec.

Parameters:t ([ int, float, time_string, datetime ], optional) – Time, which can be either time_string, int, or datetime object. Parsed using parse_time. Defaults to the current time.