Module: Astronoby::Position

Included in:
DeepSkyObjectPosition, SolarSystemBody
Defined in:
lib/astronoby/position.rb

Instance Method Summary collapse

Instance Method Details

#observed_by(observer) ⇒ Astronoby::Topocentric

Returns the topocentric reference frame.

Parameters:

Returns:



7
8
9
10
11
12
13
14
# File 'lib/astronoby/position.rb', line 7

def observed_by(observer)
  Topocentric.build_from_apparent(
    apparent: apparent,
    observer: observer,
    instant: instant,
    target_body: body
  )
end