module MkGreenwich::FundamentalArgument
¶ ↑
Module for Fundamental arguments
¶ ↑
Public Instance Methods
calc_d_iers2003(t)
click to toggle source
# File lib/mk_greenwich/fundamental_argument.rb, line 65 def calc_d_iers2003(t) return (( 1072260.703692 + \ (1602961601.2090 + \ ( - 6.3706 + \ ( 0.006593 + \ ( - 0.00003169) \ * t) * t) * t) * t) % Const::TURNAS ) * Const::AS2R rescue => e raise end
calc_ea_iers2003(t)
click to toggle source
# File lib/mk_greenwich/fundamental_argument.rb, line 111 def calc_ea_iers2003(t) return (1.753470314 + 628.3075849991 * t) % Const::PI2 rescue => e raise end
calc_f_iers2003(t)
click to toggle source
# File lib/mk_greenwich/fundamental_argument.rb, line 48 def calc_f_iers2003(t) return (( 335779.526232 + \ (1739527262.8478 + \ ( -12.7512 + \ ( -0.001037 + \ ( 0.00000417) \ * t) * t) * t) * t) % Const::TURNAS) * Const::AS2R rescue => e raise end
calc_l_iers2003(t)
click to toggle source
# File lib/mk_greenwich/fundamental_argument.rb, line 14 def calc_l_iers2003(t) return (( 485868.249036 + \ (1717915923.2178 + \ ( 31.8792 + \ ( 0.051635 + \ ( -0.00024470) \ * t) * t) * t) * t) % Const::TURNAS) * Const::AS2R rescue => e raise end
calc_om_iers2003(t)
click to toggle source
# File lib/mk_greenwich/fundamental_argument.rb, line 82 def calc_om_iers2003(t) return (( 450160.398036 + \ ( -6962890.5431 + \ ( 7.4722 + \ ( 0.007702 + \ ( -0.00005939) \ * t) * t) * t) * t) % Const::TURNAS) * Const::AS2R rescue => e raise end
calc_p_iers2003(t)
click to toggle source
# File lib/mk_greenwich/fundamental_argument.rb, line 31 def calc_p_iers2003(t) return (( 1287104.793048 + \ ( 129596581.0481 + \ ( - 0.5532 + \ ( 0.000136 + \ ( - 0.00001149) \ * t) * t) * t) * t) % Const::TURNAS) * Const::AS2R rescue => e raise end
calc_pa_iers2003(t)
click to toggle source
# File lib/mk_greenwich/fundamental_argument.rb, line 123 def calc_pa_iers2003(t) return (0.024381750 + 0.00000538691 * t) * t rescue => e raise end
calc_ve_iers2003(t)
click to toggle source
# File lib/mk_greenwich/fundamental_argument.rb, line 99 def calc_ve_iers2003(t) return (3.176146697 + 1021.3285546211 * t) % Const::PI2 rescue => e raise end