Method: When::Ephemeris::Shadow#_coords
- Defined in:
- lib/when_exe/ephemeris/moon.rb
#_coords(t) ⇒ When::Ephemeris::Coords
地球の影の位置 (黄道座標)
309 310 311 312 313 314 |
# File 'lib/when_exe/ephemeris/moon.rb', line 309 def _coords(t) t = +t radius = Sun.pi(t) + Moon.pi(t)/AU dl = 0.5 + @aberration / radius / 360 # 略算式に含まれる光行差をキャンセルする Coords.polar(Sun.true_longitude(t)+dl, 0, radius, Sun.mean_longitude(t)+dl) end |