Class: Astronoby::Nutation
- Inherits:
-
Object
- Object
- Astronoby::Nutation
- Defined in:
- lib/astronoby/nutation.rb
Class Method Summary collapse
Instance Method Summary collapse
- #for_ecliptic_longitude ⇒ Object
- #for_obliquity_of_the_ecliptic ⇒ Object
-
#initialize(epoch) ⇒ Nutation
constructor
Source: Title: Practical Astronomy with your Calculator or Spreadsheet Authors: Peter Duffett-Smith and Jonathan Zwart Edition: Cambridge University Press Chapter: 35 - Nutation.
Constructor Details
#initialize(epoch) ⇒ Nutation
Source:
Title: Practical Astronomy with your Calculator or Spreadsheet
Authors: Peter Duffett-Smith and Jonathan Zwart
Edition: Cambridge University Press
Chapter: 35 - Nutation
11 12 13 |
# File 'lib/astronoby/nutation.rb', line 11 def initialize(epoch) @epoch = epoch end |
Class Method Details
.for_ecliptic_longitude(epoch:) ⇒ Object
15 16 17 |
# File 'lib/astronoby/nutation.rb', line 15 def self.for_ecliptic_longitude(epoch:) new(epoch).for_ecliptic_longitude end |
.for_obliquity_of_the_ecliptic(epoch:) ⇒ Object
19 20 21 |
# File 'lib/astronoby/nutation.rb', line 19 def self.for_obliquity_of_the_ecliptic(epoch:) new(epoch).for_obliquity_of_the_ecliptic end |