Skip to main content

Implementation of the chopthin resampler for particle filtering/SMC

Project description

This gives an implementation of the chopthin algorithm for Python. Not much error checking is happening.

Some example code

import chopthin
from numpy import *
w = array([1,3.4,2,0.1,0.1,0.1,0.1]);
chopthin.chopthin(w,5,5.8)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chopthin-0.2.1.tar.gz (15.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page