Description
The filtered covariance computation for the Kálmán filter in traccc is found here:
This uses the traditional update step, described in "Pattern Recognition, Tracking and Vertex Reconstruction in Particle Detectors" by Frühwirth and Standlie in Eq. 3.29:
However, this form is known to be numerically unstable, and it can lead to asymmetries in the covariance matrix. An alternative form is the Joseph stabilised form (see "Filtering for Stochastic Processes With Applications to Guidance" by Bucy and Joseph) which is as follows (where
Proof that this formulation remains symmetric is trivial; indeed,
Obviously, the Joseph form requires more computation. Both forms require the computation of
This option should be implemented as a configurable option.
Pinging @yasami-24 as this might be interesting to them.