Skip to content

Linking Integration Tests

Past due by over 5 years 42% complete

THOR needs to increase its unit test coverage especially as we start deploying the code on different projects.

A clean and simple example of 'discovering' known asteroids can be worked into a series of integration tests.

Proposed plan (which may warrant separate issues):

  • Extract several known asteroids from the MPC catalogue (using astroquery)
  • Generate o…

THOR needs to increase its unit test coverage especially as we start deploying the code on different projects.

A clean and simple example of 'discovering' known asteroids can be worked into a series of integration tests.

Proposed plan (which may warrant separate issues):

  • Extract several known asteroids from the MPC catalogue (using astroquery)
  • Generate observations using already build in propagation code (these observations should ideally come from different observatories to enhance testing the heliocentric linking)
  • Define test orbit as original input orbits and do clustering with small radius and small velocity grid
  • Run initial orbit determination and see if we can recover input orbits
  • Fail if the initial orbit is sufficiently far from input orbit
Loading