Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    pykalman 0.9.1

    Download button

    No screenshots available
    Downloads: 119  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Daniel Duckworth | More programs
    BSD License / FREE
    August 23rd, 2012, 16:38 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    pykalman description

    An implementation of the Kalman Filter, Kalman Smoother, and EM algorithm in Python

    pykalman is a the dead-simple Kalman Filter, Kalman Smoother, and EM library for Python:

    >>> from pykalman import KalmanFilter
    >>> import numpy as np
    >>> kf = KalmanFilter(transition_matrices = [[1, 1], [0, 1]], observation_matrices = [[0.1, 0.5], [-0.3, 0.0]])
    >>> measurements = np.asarray([[1,0], [0,0], [0,1]]) # 3 observations
    >>> kf = kf.em(measurements, n_iter=5)
    >>> (filtered_state_means, filtered_state_covariances) = kf.filter(measurements)
    >>> (smoothed_state_means, smoothed_state_covariances) = kf.smooth(measurements)


    Also included is support for missing measurements:

    >>> from numpy import ma
    >>> measurements = ma.asarray(measurements)
    >>> measurements[1] = ma.masked # measurement at timestep 1 is unobserved
    >>> kf = kf.em(measurements, n_iter=5)
    >>> (filtered_state_means, filtered_state_covariances) = kf.filter(measurements)
    >>> (smoothed_state_means, smoothed_state_covariances) = kf.smooth(measurements)


    And for the non-linear dynamics via the UnscentedKalmanFilter:

    >>> I'll fill this in someday...

    Installation

    For a quick installation:

     easy_install pykalman

    All of these and pykalman can be installed using easy_install:

    easy_install numpy scipy Sphinx numpydoc nose pykalman

    Alternatively, you can get the latest and greatest from github:

     git clone git@github.com:pykalman/pykalman.git pykalman
     cd pykalman
     sudo python setup.py install



    Product's homepage

    Requirements:

    · Python
    · NumPy
    · SciPy
    · Sphinx
    · numpydoc
    · nose

      


    TAGS:

    Kalman Filter | EM algorithm | Kalman Smoother | Python | Kalman | Filter

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM