Class: Astronoby::Deflection
- Inherits:
-
Object
- Object
- Astronoby::Deflection
- Defined in:
- lib/astronoby/deflection.rb
Constant Summary collapse
- SOLAR_GRAVITATION_CONSTANT =
Solar gravitational constant (m^3/s^2)
1.32712440017987e+20
Instance Method Summary collapse
-
#corrected_position ⇒ Astronoby::Vector<Distance>
Corrected position of the target.
-
#initialize(instant:, target_astrometric_position:, ephem:) ⇒ Deflection
constructor
A new instance of Deflection.
Constructor Details
#initialize(instant:, target_astrometric_position:, ephem:) ⇒ Deflection
Returns a new instance of Deflection.
13 14 15 16 17 |
# File 'lib/astronoby/deflection.rb', line 13 def initialize(instant:, target_astrometric_position:, ephem:) @instant = instant @target_astrometric_position = target_astrometric_position @ephem = ephem end |