astronoby 0.8.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/CHANGELOG.md +159 -0
- data/README.md +12 -5
- data/UPGRADING.md +109 -0
- data/docs/README.md +109 -16
- data/docs/angles.md +2 -1
- data/docs/configuration.md +20 -17
- data/docs/coordinates.md +73 -13
- data/docs/deep_sky_bodies.md +101 -0
- data/docs/ephem.md +6 -3
- data/docs/equinoxes_solstices_times.md +4 -3
- data/docs/glossary.md +97 -1
- data/docs/iers.md +40 -0
- data/docs/instant.md +21 -16
- data/docs/lunar_eclipses.md +93 -0
- data/docs/lunar_observation.md +87 -0
- data/docs/moon_phases.md +5 -2
- data/docs/observer.md +21 -7
- data/docs/planetary_phenomena.md +78 -0
- data/docs/reference_frames.md +193 -35
- data/docs/rise_transit_set_times.md +10 -8
- data/docs/{celestial_bodies.md → solar_system_bodies.md} +27 -5
- data/docs/twilight_times.md +25 -21
- data/lib/astronoby/angle.rb +69 -4
- data/lib/astronoby/angles/dms.rb +18 -1
- data/lib/astronoby/angles/hms.rb +14 -1
- data/lib/astronoby/angular_velocity.rb +97 -0
- data/lib/astronoby/bodies/deep_sky_object.rb +49 -0
- data/lib/astronoby/bodies/deep_sky_object_position.rb +142 -0
- data/lib/astronoby/bodies/earth.rb +9 -42
- data/lib/astronoby/bodies/jupiter.rb +10 -0
- data/lib/astronoby/bodies/mars.rb +10 -0
- data/lib/astronoby/bodies/mercury.rb +10 -0
- data/lib/astronoby/bodies/moon.rb +162 -15
- data/lib/astronoby/bodies/neptune.rb +10 -0
- data/lib/astronoby/bodies/saturn.rb +10 -0
- data/lib/astronoby/bodies/solar_system_body.rb +257 -53
- data/lib/astronoby/bodies/sun.rb +79 -4
- data/lib/astronoby/bodies/uranus.rb +10 -0
- data/lib/astronoby/bodies/venus.rb +10 -0
- data/lib/astronoby/body.rb +6 -0
- data/lib/astronoby/cache.rb +1 -0
- data/lib/astronoby/center.rb +84 -0
- data/lib/astronoby/constants.rb +7 -2
- data/lib/astronoby/constellation.rb +9 -1
- data/lib/astronoby/coordinates/ecliptic.rb +10 -1
- data/lib/astronoby/coordinates/equatorial.rb +66 -13
- data/lib/astronoby/coordinates/geodetic.rb +102 -0
- data/lib/astronoby/coordinates/horizontal.rb +13 -1
- data/lib/astronoby/distance.rb +41 -0
- data/lib/astronoby/duration.rb +116 -0
- data/lib/astronoby/earth_rotation.rb +70 -0
- data/lib/astronoby/equinox_solstice.rb +31 -8
- data/lib/astronoby/errors.rb +11 -0
- data/lib/astronoby/events/conjunction.rb +51 -0
- data/lib/astronoby/events/conjunction_opposition_calculator.rb +84 -0
- data/lib/astronoby/events/eclipse_phase.rb +27 -0
- data/lib/astronoby/events/extremum_calculator.rb +80 -0
- data/lib/astronoby/events/extremum_event.rb +15 -0
- data/lib/astronoby/events/greatest_elongation.rb +58 -0
- data/lib/astronoby/events/greatest_elongation_calculator.rb +56 -0
- data/lib/astronoby/events/lunar_eclipse.rb +99 -0
- data/lib/astronoby/events/lunar_eclipse_calculator.rb +285 -0
- data/lib/astronoby/events/opposition.rb +19 -0
- data/lib/astronoby/events/rise_transit_set_calculator.rb +9 -6
- data/lib/astronoby/events/rise_transit_set_event.rb +12 -1
- data/lib/astronoby/events/rise_transit_set_events.rb +12 -1
- data/lib/astronoby/events/twilight_calculator.rb +1 -1
- data/lib/astronoby/events/twilight_event.rb +24 -6
- data/lib/astronoby/events/twilight_events.rb +26 -6
- data/lib/astronoby/extremum_finder.rb +148 -0
- data/lib/astronoby/instant.rb +35 -9
- data/lib/astronoby/libration.rb +25 -0
- data/lib/astronoby/mean_obliquity.rb +8 -0
- data/lib/astronoby/moon_orientation_ephemeris.rb +69 -0
- data/lib/astronoby/moon_physical_ephemeris.rb +263 -0
- data/lib/astronoby/nutation.rb +10 -20
- data/lib/astronoby/observer.rb +67 -49
- data/lib/astronoby/orientation.rb +107 -0
- data/lib/astronoby/position.rb +16 -0
- data/lib/astronoby/precession.rb +61 -60
- data/lib/astronoby/reference_frame.rb +73 -7
- data/lib/astronoby/reference_frames/apparent.rb +25 -16
- data/lib/astronoby/reference_frames/astrometric.rb +14 -1
- data/lib/astronoby/reference_frames/geometric.rb +7 -1
- data/lib/astronoby/reference_frames/mean_of_date.rb +13 -1
- data/lib/astronoby/reference_frames/teme.rb +153 -0
- data/lib/astronoby/reference_frames/topocentric.rb +31 -5
- data/lib/astronoby/refraction.rb +26 -5
- data/lib/astronoby/root_finder.rb +83 -0
- data/lib/astronoby/rotation.rb +49 -0
- data/lib/astronoby/stellar_propagation.rb +162 -0
- data/lib/astronoby/time/greenwich_apparent_sidereal_time.rb +31 -0
- data/lib/astronoby/time/greenwich_mean_sidereal_time.rb +101 -0
- data/lib/astronoby/time/greenwich_sidereal_time.rb +41 -58
- data/lib/astronoby/time/local_apparent_sidereal_time.rb +63 -0
- data/lib/astronoby/time/local_mean_sidereal_time.rb +63 -0
- data/lib/astronoby/time/local_sidereal_time.rb +59 -26
- data/lib/astronoby/time/sidereal_time.rb +64 -0
- data/lib/astronoby/true_obliquity.rb +4 -0
- data/lib/astronoby/util/maths.rb +8 -0
- data/lib/astronoby/util/time.rb +10 -467
- data/lib/astronoby/vector.rb +10 -0
- data/lib/astronoby/velocity.rb +44 -0
- data/lib/astronoby/version.rb +1 -1
- data/lib/astronoby.rb +33 -0
- metadata +58 -6
data/lib/astronoby/velocity.rb
CHANGED
|
@@ -1,19 +1,32 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
module Astronoby
|
|
4
|
+
# Represents a velocity with meters per second as its internal
|
|
5
|
+
# representation. Provides conversions between m/s, km/s, km/day,
|
|
6
|
+
# and AU/day.
|
|
7
|
+
#
|
|
8
|
+
# @example Create a velocity from km/s
|
|
9
|
+
# velocity = Astronoby::Velocity.from_kmps(29.78)
|
|
10
|
+
# velocity.aupd # AU per day
|
|
11
|
+
#
|
|
4
12
|
class Velocity
|
|
5
13
|
include Comparable
|
|
6
14
|
|
|
7
15
|
class << self
|
|
16
|
+
# @return [Astronoby::Velocity] a zero velocity
|
|
8
17
|
def zero
|
|
9
18
|
new(0)
|
|
10
19
|
end
|
|
11
20
|
|
|
21
|
+
# @param meters_per_second [Numeric] the velocity in m/s
|
|
22
|
+
# @return [Astronoby::Velocity] a new Velocity
|
|
12
23
|
def from_meters_per_second(meters_per_second)
|
|
13
24
|
new(meters_per_second)
|
|
14
25
|
end
|
|
15
26
|
alias_method :from_mps, :from_meters_per_second
|
|
16
27
|
|
|
28
|
+
# @param kilometers_per_second [Numeric] the velocity in km/s
|
|
29
|
+
# @return [Astronoby::Velocity] a new Velocity
|
|
17
30
|
def from_kilometers_per_second(kilometers_per_second)
|
|
18
31
|
meters_per_second = kilometers_per_second *
|
|
19
32
|
Constants::KILOMETER_IN_METERS
|
|
@@ -21,6 +34,8 @@ module Astronoby
|
|
|
21
34
|
end
|
|
22
35
|
alias_method :from_kmps, :from_kilometers_per_second
|
|
23
36
|
|
|
37
|
+
# @param kilometers_per_day [Numeric] the velocity in km/day
|
|
38
|
+
# @return [Astronoby::Velocity] a new Velocity
|
|
24
39
|
def from_kilometers_per_day(kilometers_per_day)
|
|
25
40
|
meters_per_second = kilometers_per_day *
|
|
26
41
|
Constants::KILOMETER_IN_METERS / Constants::SECONDS_PER_DAY
|
|
@@ -28,6 +43,8 @@ module Astronoby
|
|
|
28
43
|
end
|
|
29
44
|
alias_method :from_kmpd, :from_kilometers_per_day
|
|
30
45
|
|
|
46
|
+
# @param astronomical_units_per_day [Numeric] the velocity in AU/day
|
|
47
|
+
# @return [Astronoby::Velocity] a new Velocity
|
|
31
48
|
def from_astronomical_units_per_day(astronomical_units_per_day)
|
|
32
49
|
meters_per_second = astronomical_units_per_day *
|
|
33
50
|
Constants::ASTRONOMICAL_UNIT_IN_METERS / Constants::SECONDS_PER_DAY
|
|
@@ -35,77 +52,104 @@ module Astronoby
|
|
|
35
52
|
end
|
|
36
53
|
alias_method :from_aupd, :from_astronomical_units_per_day
|
|
37
54
|
|
|
55
|
+
# @param array [Array<Numeric>] array of m/s values
|
|
56
|
+
# @return [Astronoby::Vector<Astronoby::Velocity>] a vector of Velocities
|
|
38
57
|
def vector_from_meters_per_second(array)
|
|
39
58
|
Vector.elements(array.map { from_mps(_1) })
|
|
40
59
|
end
|
|
41
60
|
alias_method :vector_from_mps, :vector_from_meters_per_second
|
|
42
61
|
|
|
62
|
+
# @param array [Array<Numeric>] array of AU/day values
|
|
63
|
+
# @return [Astronoby::Vector<Astronoby::Velocity>] a vector of Velocities
|
|
64
|
+
def vector_from_astronomical_units_per_day(array)
|
|
65
|
+
Vector.elements(array.map { from_aupd(_1) })
|
|
66
|
+
end
|
|
67
|
+
alias_method :vector_from_aupd, :vector_from_astronomical_units_per_day
|
|
68
|
+
|
|
69
|
+
# @return [Astronoby::Velocity] the speed of light in vacuum
|
|
43
70
|
def light_speed
|
|
44
71
|
from_meters_per_second(Constants::LIGHT_SPEED_M_PER_S)
|
|
45
72
|
end
|
|
46
73
|
end
|
|
47
74
|
|
|
75
|
+
# @return [Numeric] the velocity in meters per second
|
|
48
76
|
attr_reader :meters_per_second
|
|
49
77
|
alias_method :mps, :meters_per_second
|
|
50
78
|
|
|
79
|
+
# @param meters_per_second [Numeric] the velocity in m/s
|
|
51
80
|
def initialize(meters_per_second)
|
|
52
81
|
@meters_per_second = meters_per_second
|
|
53
82
|
freeze
|
|
54
83
|
end
|
|
55
84
|
|
|
85
|
+
# @return [Float] the velocity in kilometers per second
|
|
56
86
|
def kilometers_per_second
|
|
57
87
|
@meters_per_second / Constants::KILOMETER_IN_METERS.to_f
|
|
58
88
|
end
|
|
59
89
|
alias_method :kmps, :kilometers_per_second
|
|
60
90
|
|
|
91
|
+
# @return [Float] the velocity in kilometers per day
|
|
61
92
|
def kilometers_per_day
|
|
62
93
|
@meters_per_second * Constants::SECONDS_PER_DAY /
|
|
63
94
|
Constants::KILOMETER_IN_METERS
|
|
64
95
|
end
|
|
65
96
|
alias_method :kmpd, :kilometers_per_day
|
|
66
97
|
|
|
98
|
+
# @return [Float] the velocity in astronomical units per day
|
|
67
99
|
def astronomical_units_per_day
|
|
68
100
|
@meters_per_second * Constants::SECONDS_PER_DAY /
|
|
69
101
|
Constants::ASTRONOMICAL_UNIT_IN_METERS
|
|
70
102
|
end
|
|
71
103
|
alias_method :aupd, :astronomical_units_per_day
|
|
72
104
|
|
|
105
|
+
# @param other [Astronoby::Velocity] velocity to add
|
|
106
|
+
# @return [Astronoby::Velocity] the sum
|
|
73
107
|
def +(other)
|
|
74
108
|
self.class.from_meters_per_second(
|
|
75
109
|
@meters_per_second + other.meters_per_second
|
|
76
110
|
)
|
|
77
111
|
end
|
|
78
112
|
|
|
113
|
+
# @param other [Astronoby::Velocity] velocity to subtract
|
|
114
|
+
# @return [Astronoby::Velocity] the difference
|
|
79
115
|
def -(other)
|
|
80
116
|
self.class.from_meters_per_second(
|
|
81
117
|
@meters_per_second - other.meters_per_second
|
|
82
118
|
)
|
|
83
119
|
end
|
|
84
120
|
|
|
121
|
+
# @return [Astronoby::Velocity] the negated velocity
|
|
85
122
|
def -@
|
|
86
123
|
self.class.from_meters_per_second(-@meters_per_second)
|
|
87
124
|
end
|
|
88
125
|
|
|
126
|
+
# @return [Boolean] true if the velocity is positive
|
|
89
127
|
def positive?
|
|
90
128
|
@meters_per_second > 0
|
|
91
129
|
end
|
|
92
130
|
|
|
131
|
+
# @return [Boolean] true if the velocity is negative
|
|
93
132
|
def negative?
|
|
94
133
|
@meters_per_second < 0
|
|
95
134
|
end
|
|
96
135
|
|
|
136
|
+
# @return [Boolean] true if the velocity is zero
|
|
97
137
|
def zero?
|
|
98
138
|
@meters_per_second.zero?
|
|
99
139
|
end
|
|
100
140
|
|
|
141
|
+
# @return [Numeric] the square of the velocity in (m/s)^2
|
|
101
142
|
def abs2
|
|
102
143
|
@meters_per_second**2
|
|
103
144
|
end
|
|
104
145
|
|
|
146
|
+
# @return [Integer] hash value
|
|
105
147
|
def hash
|
|
106
148
|
[@meters_per_second, self.class].hash
|
|
107
149
|
end
|
|
108
150
|
|
|
151
|
+
# @param other [Astronoby::Velocity] velocity to compare with
|
|
152
|
+
# @return [Integer, nil] -1, 0, or 1; nil if not comparable
|
|
109
153
|
def <=>(other)
|
|
110
154
|
return unless other.is_a?(self.class)
|
|
111
155
|
|
data/lib/astronoby/version.rb
CHANGED
data/lib/astronoby.rb
CHANGED
|
@@ -6,11 +6,16 @@ require "astronoby/constants"
|
|
|
6
6
|
require "astronoby/angle"
|
|
7
7
|
require "astronoby/angles/dms"
|
|
8
8
|
require "astronoby/angles/hms"
|
|
9
|
+
require "astronoby/angular_velocity"
|
|
9
10
|
require "astronoby/constellation"
|
|
10
11
|
require "astronoby/constellations/repository"
|
|
11
12
|
require "astronoby/constellations/data"
|
|
12
13
|
require "astronoby/constellations/finder"
|
|
13
14
|
require "astronoby/distance"
|
|
15
|
+
require "astronoby/duration"
|
|
16
|
+
require "astronoby/center"
|
|
17
|
+
require "astronoby/body"
|
|
18
|
+
require "astronoby/position"
|
|
14
19
|
require "astronoby/ephem"
|
|
15
20
|
require "astronoby/julian_date"
|
|
16
21
|
require "astronoby/instant"
|
|
@@ -30,12 +35,25 @@ require "astronoby/bodies/uranus"
|
|
|
30
35
|
require "astronoby/bodies/neptune"
|
|
31
36
|
require "astronoby/coordinates/ecliptic"
|
|
32
37
|
require "astronoby/coordinates/equatorial"
|
|
38
|
+
require "astronoby/coordinates/geodetic"
|
|
33
39
|
require "astronoby/coordinates/horizontal"
|
|
34
40
|
require "astronoby/corrections/light_time_delay"
|
|
35
41
|
require "astronoby/aberration"
|
|
42
|
+
require "astronoby/bodies/deep_sky_object"
|
|
43
|
+
require "astronoby/bodies/deep_sky_object_position"
|
|
36
44
|
require "astronoby/deflection"
|
|
45
|
+
require "astronoby/earth_rotation"
|
|
37
46
|
require "astronoby/equinox_solstice"
|
|
38
47
|
require "astronoby/errors"
|
|
48
|
+
require "astronoby/extremum_finder"
|
|
49
|
+
require "astronoby/root_finder"
|
|
50
|
+
require "astronoby/events/conjunction"
|
|
51
|
+
require "astronoby/events/opposition"
|
|
52
|
+
require "astronoby/events/greatest_elongation"
|
|
53
|
+
require "astronoby/events/conjunction_opposition_calculator"
|
|
54
|
+
require "astronoby/events/greatest_elongation_calculator"
|
|
55
|
+
require "astronoby/events/extremum_event"
|
|
56
|
+
require "astronoby/events/extremum_calculator"
|
|
39
57
|
require "astronoby/events/moon_phases"
|
|
40
58
|
require "astronoby/events/rise_transit_set_event"
|
|
41
59
|
require "astronoby/events/rise_transit_set_events"
|
|
@@ -43,11 +61,16 @@ require "astronoby/events/rise_transit_set_calculator"
|
|
|
43
61
|
require "astronoby/events/twilight_event"
|
|
44
62
|
require "astronoby/events/twilight_events"
|
|
45
63
|
require "astronoby/events/twilight_calculator"
|
|
64
|
+
require "astronoby/events/eclipse_phase"
|
|
65
|
+
require "astronoby/events/lunar_eclipse"
|
|
66
|
+
require "astronoby/events/lunar_eclipse_calculator"
|
|
46
67
|
require "astronoby/geocentric_parallax"
|
|
68
|
+
require "astronoby/libration"
|
|
47
69
|
require "astronoby/mean_obliquity"
|
|
48
70
|
require "astronoby/moon_phase"
|
|
49
71
|
require "astronoby/nutation"
|
|
50
72
|
require "astronoby/observer"
|
|
73
|
+
require "astronoby/rotation"
|
|
51
74
|
require "astronoby/precession"
|
|
52
75
|
require "astronoby/reference_frame"
|
|
53
76
|
require "astronoby/reference_frames/geometric"
|
|
@@ -55,11 +78,21 @@ require "astronoby/reference_frames/astrometric"
|
|
|
55
78
|
require "astronoby/reference_frames/mean_of_date"
|
|
56
79
|
require "astronoby/reference_frames/apparent"
|
|
57
80
|
require "astronoby/reference_frames/topocentric"
|
|
81
|
+
require "astronoby/reference_frames/teme"
|
|
58
82
|
require "astronoby/refraction"
|
|
83
|
+
require "astronoby/stellar_propagation"
|
|
84
|
+
require "astronoby/time/sidereal_time"
|
|
59
85
|
require "astronoby/time/greenwich_sidereal_time"
|
|
86
|
+
require "astronoby/time/greenwich_mean_sidereal_time"
|
|
87
|
+
require "astronoby/time/greenwich_apparent_sidereal_time"
|
|
60
88
|
require "astronoby/time/local_sidereal_time"
|
|
89
|
+
require "astronoby/time/local_mean_sidereal_time"
|
|
90
|
+
require "astronoby/time/local_apparent_sidereal_time"
|
|
61
91
|
require "astronoby/util/maths"
|
|
62
92
|
require "astronoby/util/time"
|
|
63
93
|
require "astronoby/util/trigonometry"
|
|
64
94
|
require "astronoby/true_obliquity"
|
|
95
|
+
require "astronoby/orientation"
|
|
96
|
+
require "astronoby/moon_physical_ephemeris"
|
|
97
|
+
require "astronoby/moon_orientation_ephemeris"
|
|
65
98
|
require "astronoby/version"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: astronoby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.10.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rémy Hannequin
|
|
@@ -15,14 +15,28 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '0.
|
|
18
|
+
version: '0.5'
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: '0.
|
|
25
|
+
version: '0.5'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: iers
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - "~>"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '0.1'
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - "~>"
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '0.1'
|
|
26
40
|
- !ruby/object:Gem::Dependency
|
|
27
41
|
name: matrix
|
|
28
42
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -154,24 +168,32 @@ files:
|
|
|
154
168
|
- UPGRADING.md
|
|
155
169
|
- docs/README.md
|
|
156
170
|
- docs/angles.md
|
|
157
|
-
- docs/celestial_bodies.md
|
|
158
171
|
- docs/configuration.md
|
|
159
172
|
- docs/coordinates.md
|
|
173
|
+
- docs/deep_sky_bodies.md
|
|
160
174
|
- docs/ephem.md
|
|
161
175
|
- docs/equinoxes_solstices_times.md
|
|
162
176
|
- docs/glossary.md
|
|
177
|
+
- docs/iers.md
|
|
163
178
|
- docs/instant.md
|
|
179
|
+
- docs/lunar_eclipses.md
|
|
180
|
+
- docs/lunar_observation.md
|
|
164
181
|
- docs/moon_phases.md
|
|
165
182
|
- docs/observer.md
|
|
183
|
+
- docs/planetary_phenomena.md
|
|
166
184
|
- docs/reference_frames.md
|
|
167
185
|
- docs/rise_transit_set_times.md
|
|
186
|
+
- docs/solar_system_bodies.md
|
|
168
187
|
- docs/twilight_times.md
|
|
169
188
|
- lib/astronoby.rb
|
|
170
189
|
- lib/astronoby/aberration.rb
|
|
171
190
|
- lib/astronoby/angle.rb
|
|
172
191
|
- lib/astronoby/angles/dms.rb
|
|
173
192
|
- lib/astronoby/angles/hms.rb
|
|
193
|
+
- lib/astronoby/angular_velocity.rb
|
|
174
194
|
- lib/astronoby/astronomical_models/moon_phases_periodic_terms.rb
|
|
195
|
+
- lib/astronoby/bodies/deep_sky_object.rb
|
|
196
|
+
- lib/astronoby/bodies/deep_sky_object_position.rb
|
|
175
197
|
- lib/astronoby/bodies/earth.rb
|
|
176
198
|
- lib/astronoby/bodies/jupiter.rb
|
|
177
199
|
- lib/astronoby/bodies/mars.rb
|
|
@@ -183,7 +205,9 @@ files:
|
|
|
183
205
|
- lib/astronoby/bodies/sun.rb
|
|
184
206
|
- lib/astronoby/bodies/uranus.rb
|
|
185
207
|
- lib/astronoby/bodies/venus.rb
|
|
208
|
+
- lib/astronoby/body.rb
|
|
186
209
|
- lib/astronoby/cache.rb
|
|
210
|
+
- lib/astronoby/center.rb
|
|
187
211
|
- lib/astronoby/configuration.rb
|
|
188
212
|
- lib/astronoby/constants.rb
|
|
189
213
|
- lib/astronoby/constellation.rb
|
|
@@ -192,6 +216,7 @@ files:
|
|
|
192
216
|
- lib/astronoby/constellations/repository.rb
|
|
193
217
|
- lib/astronoby/coordinates/ecliptic.rb
|
|
194
218
|
- lib/astronoby/coordinates/equatorial.rb
|
|
219
|
+
- lib/astronoby/coordinates/geodetic.rb
|
|
195
220
|
- lib/astronoby/coordinates/horizontal.rb
|
|
196
221
|
- lib/astronoby/corrections/light_time_delay.rb
|
|
197
222
|
- lib/astronoby/data/constellations/constellation_names.dat
|
|
@@ -201,33 +226,60 @@ files:
|
|
|
201
226
|
- lib/astronoby/data/constellations/sorted_right_ascensions.dat
|
|
202
227
|
- lib/astronoby/deflection.rb
|
|
203
228
|
- lib/astronoby/distance.rb
|
|
229
|
+
- lib/astronoby/duration.rb
|
|
230
|
+
- lib/astronoby/earth_rotation.rb
|
|
204
231
|
- lib/astronoby/ephem.rb
|
|
205
232
|
- lib/astronoby/equinox_solstice.rb
|
|
206
233
|
- lib/astronoby/errors.rb
|
|
234
|
+
- lib/astronoby/events/conjunction.rb
|
|
235
|
+
- lib/astronoby/events/conjunction_opposition_calculator.rb
|
|
236
|
+
- lib/astronoby/events/eclipse_phase.rb
|
|
237
|
+
- lib/astronoby/events/extremum_calculator.rb
|
|
238
|
+
- lib/astronoby/events/extremum_event.rb
|
|
239
|
+
- lib/astronoby/events/greatest_elongation.rb
|
|
240
|
+
- lib/astronoby/events/greatest_elongation_calculator.rb
|
|
241
|
+
- lib/astronoby/events/lunar_eclipse.rb
|
|
242
|
+
- lib/astronoby/events/lunar_eclipse_calculator.rb
|
|
207
243
|
- lib/astronoby/events/moon_phases.rb
|
|
244
|
+
- lib/astronoby/events/opposition.rb
|
|
208
245
|
- lib/astronoby/events/rise_transit_set_calculator.rb
|
|
209
246
|
- lib/astronoby/events/rise_transit_set_event.rb
|
|
210
247
|
- lib/astronoby/events/rise_transit_set_events.rb
|
|
211
248
|
- lib/astronoby/events/twilight_calculator.rb
|
|
212
249
|
- lib/astronoby/events/twilight_event.rb
|
|
213
250
|
- lib/astronoby/events/twilight_events.rb
|
|
251
|
+
- lib/astronoby/extremum_finder.rb
|
|
214
252
|
- lib/astronoby/geocentric_parallax.rb
|
|
215
253
|
- lib/astronoby/instant.rb
|
|
216
254
|
- lib/astronoby/julian_date.rb
|
|
255
|
+
- lib/astronoby/libration.rb
|
|
217
256
|
- lib/astronoby/mean_obliquity.rb
|
|
257
|
+
- lib/astronoby/moon_orientation_ephemeris.rb
|
|
218
258
|
- lib/astronoby/moon_phase.rb
|
|
259
|
+
- lib/astronoby/moon_physical_ephemeris.rb
|
|
219
260
|
- lib/astronoby/nutation.rb
|
|
220
261
|
- lib/astronoby/observer.rb
|
|
262
|
+
- lib/astronoby/orientation.rb
|
|
263
|
+
- lib/astronoby/position.rb
|
|
221
264
|
- lib/astronoby/precession.rb
|
|
222
265
|
- lib/astronoby/reference_frame.rb
|
|
223
266
|
- lib/astronoby/reference_frames/apparent.rb
|
|
224
267
|
- lib/astronoby/reference_frames/astrometric.rb
|
|
225
268
|
- lib/astronoby/reference_frames/geometric.rb
|
|
226
269
|
- lib/astronoby/reference_frames/mean_of_date.rb
|
|
270
|
+
- lib/astronoby/reference_frames/teme.rb
|
|
227
271
|
- lib/astronoby/reference_frames/topocentric.rb
|
|
228
272
|
- lib/astronoby/refraction.rb
|
|
273
|
+
- lib/astronoby/root_finder.rb
|
|
274
|
+
- lib/astronoby/rotation.rb
|
|
275
|
+
- lib/astronoby/stellar_propagation.rb
|
|
276
|
+
- lib/astronoby/time/greenwich_apparent_sidereal_time.rb
|
|
277
|
+
- lib/astronoby/time/greenwich_mean_sidereal_time.rb
|
|
229
278
|
- lib/astronoby/time/greenwich_sidereal_time.rb
|
|
279
|
+
- lib/astronoby/time/local_apparent_sidereal_time.rb
|
|
280
|
+
- lib/astronoby/time/local_mean_sidereal_time.rb
|
|
230
281
|
- lib/astronoby/time/local_sidereal_time.rb
|
|
282
|
+
- lib/astronoby/time/sidereal_time.rb
|
|
231
283
|
- lib/astronoby/true_obliquity.rb
|
|
232
284
|
- lib/astronoby/util/maths.rb
|
|
233
285
|
- lib/astronoby/util/time.rb
|
|
@@ -249,14 +301,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
249
301
|
requirements:
|
|
250
302
|
- - ">="
|
|
251
303
|
- !ruby/object:Gem::Version
|
|
252
|
-
version: 3.
|
|
304
|
+
version: 3.2.0
|
|
253
305
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
254
306
|
requirements:
|
|
255
307
|
- - ">="
|
|
256
308
|
- !ruby/object:Gem::Version
|
|
257
309
|
version: '0'
|
|
258
310
|
requirements: []
|
|
259
|
-
rubygems_version:
|
|
311
|
+
rubygems_version: 4.0.10
|
|
260
312
|
specification_version: 4
|
|
261
313
|
summary: Astronomical calculations
|
|
262
314
|
test_files: []
|