filterpy icon indicating copy to clipboard operation
filterpy copied to clipboard

Need some help to reproduce pykalman behavior on simple linear example

Open antoinecollet5 opened this issue 3 years ago • 2 comments

I want to switch from pykalman to filterpy because the later is not maintained anymore.

I try to reproduce a basic filtering and smoothing example that I did with pykalman (original code from Anton):

linear_case_pykalman.ipynb

However, I struggle to make it work with filterpy and I do not really get why... It has to do with missing values handing I guess.

linear_case_filterpy.ipynb

Thanks in advance for the help !

antoinecollet5 avatar Dec 16 '21 17:12 antoinecollet5

Page not found in both cases. Seems like they are here now. But where is the issue?

Eheran1 avatar Apr 05 '22 20:04 Eheran1

Salut @Eheran1,

Thank you I fixed the two links.

Well, indeed, the second link relies on PR #263 which solves the issue. Here is the original notebook (using filterpy 1.4.5 from pypi). As you can see, the non handling of NaN causes problems and is not really compatible with a numpy approach.

Note that the PR has not been merged so the issue cannot be closed.

antoinecollet5 avatar Apr 05 '22 21:04 antoinecollet5