Bayesian MSD fitting
Project description
BayesMSD: properly fitting MSDs
While inspection of MSD curves is one of the most ubiquitous ways of analyzing particle tracking data, it is also well known that extracting model parameters from MSD curves is a statistical minefield[^1]. This problem can be addressed quite nicely in the language of Gaussian processes, allowing statistically rigorous MSD fits. This provides, for example, error bars on estimated model parameters, which are quite noticeably missing from the current literature.
For a Quickstart intro, more extensive Tutorials & Examples and the full API reference refer to the documentation hosted at ReadTheDocs.
To install bayesmsd
you can use the latest stable version from PyPI
$ pip install --upgrade bayesmsd
or the very latest updates right from GitHub:
$ pip install git+https://github.com/OpenTrajectoryAnalysis/bayesmsd
When cloning the repo and installing in editable mode, make sure to use make setup
to setup the parts of the local environment that are not tracked in git
(see Developers):
$ git clone https://github.com/OpenTrajectoryAnalysis/bayesmsd
$ cd bayesmsd && make setup
$ pip install -e .
[^1]: Vestergaard, Blainey, Flyvbjerg, Optimal estimation of diffusion coefficients from single-particle trajectories, Physical Review E, 2014; DOI
Developers
We use GNU make
to automate recurrent tasks. Targets include:
make setup
: set up the local environment after cloning. Requires nbstripout which is used to remove output and empty cells from the example notebooks.make recompile
: (re-)compile cython codemake build
: build wheels for distribution on PyPImake tests
: run unittestsmake docs
: build Sphinx documentation
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
Built Distributions
File details
Details for the file bayesmsd-0.1.4.tar.gz
.
File metadata
- Download URL: bayesmsd-0.1.4.tar.gz
- Upload date:
- Size: 171.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c3e6c35ae974eb15dbda6d26f83c6a6b41e85d1a27f452d4c7d3aabf247c26e |
|
MD5 | 74c2a3619a43f7ea2f8b111940d0bd2c |
|
BLAKE2b-256 | 93c400a430c1521c2f507abd059a52a4406584bef2257e88f84d515a6921d24b |
File details
Details for the file bayesmsd-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: bayesmsd-0.1.4-py3-none-any.whl
- Upload date:
- Size: 171.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c74b256bf72482e298ef1c5c556fae757c3a8855f56d6010a25b6b6e09dd30e |
|
MD5 | 63c79ac5a6968fccfff402dc9e53e834 |
|
BLAKE2b-256 | 4358a3ae6d54ef5932f1ff845fe8808e0d6b39b0987c673dfc85724d2e7c42ee |
File details
Details for the file bayesmsd-0.1.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: bayesmsd-0.1.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 469.4 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 710908ca8b324cfd5628aaca1716373cd2f4afa351c239ea24cbc9b3d6ded700 |
|
MD5 | b257636eb4fa5bba040886dcbf989604 |
|
BLAKE2b-256 | 39914a574c1b0a630b2679481ce37e77fe1c8272aab125998dbd5e6184d771dd |
File details
Details for the file bayesmsd-0.1.4-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: bayesmsd-0.1.4-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 255.3 kB
- Tags: CPython 3.7m, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 479b30e7404b5706338130fd405aba0479ac54caffb6386cb9faa72f2ed68073 |
|
MD5 | 48d87ce295b5a61b6b62df0553d05803 |
|
BLAKE2b-256 | 8b588dda866b3baee12a9e8a8b4803ea37df093cab69b77ab8169d6c1583f9e1 |