Files
sun/vendor/github.com/nathan-osman/go-sunrise/perihelion.go
T
2026-10-23 14:11:51 +00:00

8 lines
217 B
Go

package sunrise
// ArgumentOfPerihelion calculates the argument of periapsis for the earth on
// the given Julian day.
func ArgumentOfPerihelion(d float64) float64 {
return 102.93005 + 0.3179526*(d-2451545)/36525
}