B612-Asteroid-Institute / precovery

Fast precovery of small body observations at scale
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

Add ObservationArray class to clarify distance calculations #82

Closed spenczar closed 1 year ago

spenczar commented 1 year ago

Added a new file, precovery/observation.py, to house the existing Observation class, and a new ObservationArray class, which is currently unused.

Added a method on Ephemeris to compute its distance from an ObservationArray.

The payoff to this PR is really in #83. I separated the two phases to make review a little cleaner.