nyx icon indicating copy to clipboard operation
nyx copied to clipboard

Measurement observation may be zero when no measurement available

Open ChristopherRabotin opened this issue 1 year ago • 0 comments

Bug report

Describe the bug

If a ground station is configured to support N measurement types but only M<N are requested, then one of the entries of the observation vector is zero, as expected. However, if the filter is set to process measurements sequentially, then it may try to process zero as a real observation, thereby causing a prefit of exactly the opposite of the expected/computed measurement.

#409 introduced a hack fix to prevent this, but a better fix is warranted.

Similarly, it would be useful for the Residual type to also include the real and computed observations so that all runs are effectively a "residuals versus reference" run as well.

Expected behavior

The zeroed observation should be skipped (and they are with a hack).

ChristopherRabotin avatar Feb 11 '25 20:02 ChristopherRabotin