Class: Astronoby::TrueObliquity

Inherits:
Object
  • Object
show all
Defined in:
lib/astronoby/true_obliquity.rb

Class Method Summary collapse

Class Method Details

.for_epoch(epoch) ⇒ Object



5
6
7
8
9
10
# File 'lib/astronoby/true_obliquity.rb', line 5

def self.for_epoch(epoch)
  mean_obliquity = MeanObliquity.for_epoch(epoch)
  nutation = Nutation.for_obliquity_of_the_ecliptic(epoch: epoch)

  mean_obliquity + nutation
end