src

Go monorepo.
git clone git://code.dwrz.net/src
Log | Files | Refs

perihelion.go (217B)


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