The Sun
平均黄経 / CIRCLE
t : ユリウス日(Terrestrial Time)または(Temporal)Positionオブジェクト
# File when/region/sun.rb, line 86
86: def mean_lambda(t)
87: return trigonometric(julian_year_from_1975(+t), P3L, 0.0, 1) / 360.0 + 1974.0
88: end
オブジェクトの生成
# File when/region/sun.rb, line 114
114: def initialize(*args)
115: options = [args.pop] if args[1].kind_of?(Hash)
116: radius, aberration, luminosity, *rest = args
117: radius ||= 696000.0
118: aberration ||= 0.00000
119: luminosity ||= 4.58
120: args = [radius, aberration, luminosity] + rest
121: args += options if options
122: super(*args)
123: end
距離 / AU
t : ユリウス日(Terrestrial Time)または(Temporal)Positionオブジェクト
# File when/region/sun.rb, line 78
78: def pi(t)
79: return 10.0**(0.000030+trigonometric(julian_year_from_1975(+t), P3Q))
80: end
視黄経 / CIRCLE
t : ユリウス日(Terrestrial Time)または(Temporal)Positionオブジェクト
# File when/region/sun.rb, line 68
68: def true_lambda(t)
69: y = julian_year_from_1975(+t)
70: return (sind(S0[0]+y*(S0[1]+y*S0[2]))*(S1[0]+y*(S1[1]+y*S1[2])) +
71: trigonometric(y, P3L)) / 360.0 + 1974.0
72: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.