Class Index [+]

Quicksearch

When::Ephemeris::Datum

座標の基準になる天体

  座標の基準になる天体の特性を定義する

Attributes

radius[R]

半径/km

first_day[R]

計算式の精度保証期間の下限 / ユリウス日

last_day[R]

計算式の精度保証期間の上限 / ユリウス日

ll[R]

黄経の係数

dl[R]

黄経の補正の係数

tb[R]

黄緯の係数

rr[R]

動径の係数

nn[R]

木星と土星の相互摂動項

jsn[R]

黄経の係数1 (木星-土星)

jsl[R]

黄経の係数2 (木星-土星)

jst[R]

黄緯の係数 (木星-土星)

jsr[R]

動径の係数 (木星-土星)

shape[R]

惑星の形

sid[R]

自転 - 平均太陽の赤経(2000年分点)

zeros[R]

天体の出没、薄明の閾値

air[R]

大気の補正

axis[R]

自転軸

Public Instance Methods

apparent_luminosity(t, base) click to toggle source

視光度 / 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
apparent_radius(t, base=Earth) click to toggle source

視半径 / 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
axis_of_rotation(t) click to toggle source

自転軸の歳差補正

  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
eclipse(t, target, base=Earth) click to toggle source

食分

  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
elongation(t, target=Sun, base=Earth) click to toggle source

離角 / 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
equation_of_time(t) click to toggle source

均時差 / 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
mean_lambda(t) click to toggle source

光行差を含んだ平均黄経 / 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
mean_motion() click to toggle source

平均運動 / (DEG / YEAR)

     # File when/ephemeris.rb, line 849
849:     def mean_motion
850:       return @ll[0][2]
851:     end
true_lambda(t) click to toggle source

光行差を含んだ真黄経 / CIRCLE

  t : ユリウス日(Terrestrial Time)または(Temporal)Positionオブジェクト
     # File when/ephemeris.rb, line 868
868:     def true_lambda(t)
869:       coord = _coords(t)
870:       coord.ll - @aberration / coord.rr / 360
871:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.