tudat-team / tudat

A C++ platform to perform astrodynamics and space research.
BSD 3-Clause "New" or "Revised" License
17 stars 28 forks source link

Handling of condition number in least squares #164

Closed MiguelAvillez closed 1 year ago

MiguelAvillez commented 1 year ago

Currently a warning is thrown if the condition number is above a certain value (warning), which is currently hard coded to 10e8 (here).

The user should be given more flexibility to choose how to deal with these warnings, e.g. choosing the condition number above which a warning is thrown, choosing whether or not the warning is thrown, choosing when the warning is thrown (just on first iteration, on all iterations), ...

DominicDirkx commented 1 year ago

Required modifications have been made here: https://github.com/tudat-team/tudat/pull/183

A new option is added to the CovarianceAnalysisInput class, which represents the limit value for a condition number warning. The EstimationInput has a boolean option to only print the warning on the 1st iteration. Documentation will follow with associated tudatpy pull request.