Simple Kalman

A project to implement a one-dimensional Kalman filter in Dart language

photo

Example usage:

Create Kalman filter

import 'package:simple_kalman/simple_kalman.dart';

void main() {
  final _data = <int>[127, 0, 133, 136, 139, 256, 145, 148, 151];
  
  final kalman = SimpleKalman(errorMeasure: 256, errorEstimate: 150, q: 0.9);
  for (final value in _data) {
    print('Origin: $value Filtered: ${kalman.filtered(value.toDouble())}');
  }

Changelog

Refer to the Changelog to get all release notes.

Features and bugs

Please file feature requests and bugs at the issue tracker.

License

WTFPL

Libraries

simple_kalman