Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix Kalman filter extrapolation after smoothing #2470

Merged
merged 8 commits into from
Sep 23, 2023

Conversation

andiwand
Copy link
Contributor

@andiwand andiwand commented Sep 20, 2023

KF and CKF are extrapolating from the last track state to the perigee. This can decrease the resolution drastically if that last state is a material state or hole (state without measurement).

Here I exclude these states and propagate from the last measurement to the perigee.

old
old

new
new

@andiwand andiwand added this to the next milestone Sep 20, 2023
@paulgessinger
Copy link
Member

So by this you mean from the innermost measurement state to the perigee, right?

@benjaminhuth
Copy link
Member

I think it would be great if you could add a comment explaining what is done here and why

@codecov
Copy link

codecov bot commented Sep 20, 2023

Codecov Report

Merging #2470 (e23bcac) into main (45e07d7) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main    #2470   +/-   ##
=======================================
  Coverage   49.88%   49.88%           
=======================================
  Files         466      466           
  Lines       26232    26232           
  Branches    12014    12014           
=======================================
  Hits        13086    13086           
  Misses       4614     4614           
  Partials     8532     8532           
Files Changed Coverage Δ
...de/Acts/TrackFinding/CombinatorialKalmanFilter.hpp 31.63% <0.00%> (ø)
Core/include/Acts/TrackFitting/KalmanFitter.hpp 42.41% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@andiwand
Copy link
Contributor Author

opinions on the performance changes @paulgessinger @asalzburger @benjaminhuth ?

@asalzburger
Copy link
Contributor

opinions on the performance changes @paulgessinger @asalzburger @benjaminhuth ?

I am looking through it ...

@paulgessinger
Copy link
Member

Seems fine to me. Let's do the thing.

@andiwand
Copy link
Contributor Author

waiting for #2336 to go in then I will update the references here

@github-actions github-actions bot added Infrastructure Changes to build tools, continous integration, ... Component - Examples Affects the Examples module Changes Performance labels Sep 23, 2023
@kodiakhq kodiakhq bot merged commit e34660a into acts-project:main Sep 23, 2023
60 checks passed
@andiwand andiwand deleted the fix-kf-finalize branch September 23, 2023 10:59
@paulgessinger paulgessinger modified the milestones: next, v30.0.0 Sep 25, 2023
AJPfleger pushed a commit to AJPfleger/acts that referenced this pull request Sep 29, 2023
KF and CKF are extrapolating from the last track state to the perigee. This can decrease the resolution drastically if that last state is a material state or hole (state without measurement).

Here I exclude these states and propagate from the last measurement to the perigee.

**old**
![old](https://github.com/acts-project/acts/assets/487211/3977b191-c2e2-4f74-a2f8-36b94cd11635)

**new**
![new](https://github.com/acts-project/acts/assets/487211/4f929459-a334-4e5c-8352-602deafe1290)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changes Performance Component - Core Affects the Core module Component - Examples Affects the Examples module Infrastructure Changes to build tools, continous integration, ... Track Finding Track Fitting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants