filterpy icon indicating copy to clipboard operation
filterpy copied to clipboard

batch_filter modifies kf values

Open rlabbe opened this issue 3 years ago • 0 comments

I'm not sure if I like this or not. The function signature implies that x,P are computed and returned in a list, but the kf states are also updated. Maybe that's okay, maybe not, but it is not documented!

It strikes me that it should not modify the kf. Perhaps it shouldn't be a kf method at all, but a stand-alone function that takes the kf as an argument just to get the matrices.

rlabbe avatar Apr 08 '21 17:04 rlabbe