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

re-implement kalman filter with single sliding-window prediction #146

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

goodwilj
Copy link

@goodwilj goodwilj commented Aug 2, 2024

See issue 145 for more details.

goodwilj and others added 6 commits August 2, 2024 10:12
Moved self.frames initialization of inner lists to `__init__`
That allowed update to be simplified
`flotify_unput` added to `update` to transform low_level_data into all floats and make it the frame
`initial_value` in _predict no longer optional
  only place calling it always provided value
Tests updated to reflect changes by adding, subtracting, changing
Tests added to ensure coverage where it was lacking
New testing technique:
  `super()` calls mockable
    obtain the parent class object (this is what `super()` returns already)
    patch any calls to it, including `__init__`
Changed docstrings to Numpy format
Added print_msg from util for no raise error output
Enforced window size > 2, otherise raise error
Black and Pylint changes
  no single quotes for comments or strings
  use enumerate not range and len
@the-other-james
Copy link
Contributor

I think this branch needs to pull in the latest changes from main (looks like it is 5 commits behind which explains the conflicting files since the black reformatting touched the old kalman plugin).

environment_dev.yml should also be updated I would think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants