座標の基準になる天体
座標の基準になる天体の特性を定義する
視光度 / magnitude
t : ユリウス日(Terrestrial Time)または(Temporal)Positionオブジェクト base : When::Coordinates::Spatial or When::Ephemeris::Datum 観測地
# File when/ephemeris.rb, line 919 919: def apparent_luminosity(t, base) 920: return @luminosity - 2.5*log10(base._coords(t).luminosity_spe(self._coords(t))) 921: end
視半径 / CIRCLE
t : ユリウス日(Terrestrial Time)または(Temporal)Positionオブジェクト base : When::Coordinates::Spatial or When::Ephemeris::Datum 観測地
# File when/ephemeris.rb, line 909 909: def apparent_radius(t, base=Earth) 910: target_coords = self.coords(t, base) 911: asin(@radius / (target_coords.rr * AU)) / CIRCLE 912: end
自転軸の歳差補正
t : ユリウス日(Terrestrial Time)または(Temporal)Positionオブジェクト returns : When::Ephemeris::Coords
# File when/ephemeris.rb, line 880 880: def axis_of_rotation(t) 881: return nil unless @axis 882: c1900 = (@axis[0]-1900.0)/100.0 883: dt = (+t-(EPOCH2-0.68648354))/BCENT - c1900 884: Coords.polar( 885: (@axis[1][0] + dt * @axis[2][0]) / 360, 886: (@axis[1][1] + dt * @axis[2][1]) / 360, 887: (@axis[1][2] + dt * @axis[2][2]) / 360 888: ).precession(dt, c1900) 889: end
食分
t : ユリウス日(Terrestrial Time)または(Temporal)Positionオブジェクト target : When::Ephemeris::Datum 基準星 base : When::Coordinates::Spatial or When::Ephemeris::Datum 観測地
# File when/ephemeris.rb, line 946 946: def eclipse(t, target, base=Earth) 947: t = +t 948: distance = self.coords(t, base).spherical_law_of_cosines(target.coords(t, base)) / CIRCLE 949: self_radius = sel.apparent_radius(t, base) 950: target_radius = target.apparent_radius(t, base) 951: return (self_radius + target_radius - distance) / (2.0 * target_radius) 952: end
離角 / CIRCLE
t : ユリウス日(Terrestrial Time)または(Temporal)Positionオブジェクト target : When::Ephemeris::Datum 基準星 base : When::Coordinates::Spatial or When::Ephemeris::Datum 観測地
# File when/ephemeris.rb, line 930 930: def elongation(t, target=Sun, base=Earth) 931: t = +t 932: self_coords = self.coords(t, base) 933: target_coords = target.coords(t, base) 934: elongation = acos(self_coords.spherical_law_of_cosines(target_coords)) / CIRCLE 935: difference = (self_coords.ll - target_coords.ll + 0.5) % 1 - 0.5 936: return (difference >= 0) ? elongation : -elongation 937: end
均時差 / DAY
t : ユリウス日(Terrestrial Time)または(Temporal)Positionオブジェクト
# File when/ephemeris.rb, line 895 895: def equation_of_time(t) 896: t = +t 897: c = julian_century_from_2000(t) 898: coords = -_coords(t) 899: coords = coords.rotate_z(@aberration / coords.rr / 360) if @aberration 900: coords = coords.y_to_r(t, self) 901: return 0.5 - ((coords.ll - (@sid[0] + c * (@sid[1] + c * @sid[2])) / 24.0) % 1) 902: end
光行差を含んだ平均黄経 / CIRCLE
t : ユリウス日(Terrestrial Time)または(Temporal)Positionオブジェクト
# File when/ephemeris.rb, line 858 858: def mean_lambda(t) 859: coord = _coords(t) 860: coord.c - @aberration / coord.rr / 360 861: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.