chaosmagpy.coordinate_utils.sun_position¶
- chaosmagpy.coordinate_utils.sun_position(time)[source]¶
Computes the sun’s position in longitude and colatitude at a given time (mjd2000).
It is accurate for years 1901 through 2099, to within 0.006 deg. Input shape is preserved.
- Parameters:
- timendarray, shape (…)
Time given as modified Julian date, i.e. with respect to the date 0h00 January 1, 2000 (mjd2000).
- Returns:
- thetandarray, shape (…)
Geocentric colatitude of sun’s position in degrees \([0^\circ, 180^\circ]\).
- phindarray, shape (…)
Longitude (eastward positive) of sun’s position in degrees \((-180^\circ, 180^\circ]\).
References
Taken from here