rlabbe / filterpy

Python Kalman filtering and optimal estimation library. Implements Kalman filter, particle filter, Extended Kalman filter, Unscented Kalman filter, g-h (alpha-beta), least squares, H Infinity, smoothers, and more. Has companion book 'Kalman and Bayesian Filters in Python'.
MIT License
3.31k stars 617 forks source link

Add time field to Saver #231

Open rlabbe opened 3 years ago

rlabbe commented 3 years ago

Saver should have a (optional?) time field.

saver.save()  # increments time by whatever delta time was assigned

or

saver.save(curr_time)   # save this time

Otherwise the data can be hard to interpret.