test_horizonOpNav

test_horizonOpNav.test_horizonOpNav()[source]

Unit test for Horizon Navigation. The unit test specifically covers:

  1. Individual methods: This module contains a back substitution method as well as a QR decomposition.

    This test ensures that they are working properly with a direct test of the method input/outputs with expected results

  2. State and Covariances: This unit test also computes the state estimate and covariance in python. This is

    compared directly to the output from the module for exact matching.

The Horizon Nav module gives the spacecraft position given a limb input. This test ensures that the results are as expected both for the state estimate and the covariance associated with the measurement.