-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Helpers to calculate residuals, chi2 and unbiased states (#3877)
This came up a couple of times and it really should be in core so I added helpers to - calculate residuals and their covariance for predicted, filtered and smoothed states - calculate chi2 for these - calculate unbiased parameters and covariance For now I added them to `TrackHelpers.hpp` but potentially this could also live in the `TrackStateProxy`. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced new helper functions for track state calculations, including methods for computing predicted, filtered, and smoothed residuals and chi-squared values. - Added functionality to calculate unbiased track parameters and their covariance. - **Bug Fixes** - Simplified the logic for calculating unbiased track parameters, improving maintainability and reducing complexity. - **Documentation** - Updated method signatures and descriptions to reflect changes in functionality. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information
Showing
2 changed files
with
216 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters