Method: When::Ephemeris::ChineseTrueLunation::MethodJ#_initialize_rissei
- Defined in:
- lib/when_exe/region/chinese.rb
#_initialize_rissei ⇒ Object
立成の作成
638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 |
# File 'lib/when_exe/region/chinese.rb', line 638 def _initialize_rissei @year_length = @year_length.to_f # 暦元の冬至年 / 日 @year_span = (@year_span || 1).to_i # 冬至年の改訂周期 / 年 @anomalistic_year_shift = (@anomalistic_year_shift || 0).to_f # 暦應(冬至から近日点通過までの日数) @lunation_length = @lunation_length.to_f # 朔実(朔望月) @lunation_shift = @lunation_shift.to_f # 閏應(暦元前経朔から暦元天正冬至までの日数) @lunar_mean_motion = @lunar_mean_motion.to_f # 月平行(恒星天に対する月の平均運動 / 日) @anomalistic_month_length = @anomalistic_month_length.to_f # 転終(近点月) @anomalistic_month_shift = @anomalistic_month_shift.to_f # 転應(暦元前近/遠地点通過から暦元天正冬至までの日数) @anomaly_method = @anomaly_method || 'a' # (経朔-定朔)の計算方法 @anomaly_precision = (@anomaly_precision || 1.0E-5).to_f # c 方式 での収束判定誤差 / 日 @solar_weight = @solar_weight || 0 # (経朔-定朔)の計算で用いる実行差での太陽盈縮の重み(0:非考慮,1:考慮) @lunar_unit = @lunar_unit.to_f # 太陰遅速計算用招差法定数の時間の単位(限) @m = _rissei_j(@m) # 太陰遅速計算用招差法定数 @s = _rissei_j(@s) # 太陽盈縮計算用招差法定数 end |