Probabilistic Inference on Noisy Time Series
Jupyter Notebook Python
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
examples
pints
studies
test
.coveragerc
.flake8
.gitignore
.travis.yml
CONTRIBUTING.md
LICENSE.txt
README.md
postBuild
requirements-dev.txt
requirements-docs.txt
requirements.txt
run-tests.py
setup.py

README.md

TravisCI Documentation Status Binder codecov

What is Pints?

Pints (Probabilistic Inference on Noisy Time-Series) is a framework for optimisation and bayesian inference problems with ODE models of noisy time-series, such as arise in electrochemistry and cardiac electrophysiology.

How do I use pints?

To use a model with Pints, you need to make sure it extends the ForwardModel interface, which has just two methods:

n_parameters() --> Returns the dimension of the parameter space.
        
simulate(parameters, times) --> Returns a vector of model evaluations at
                                the given times, using the given parameters

If your model implements these methods - or you can write a wrapper class that does - you can start using Pints for optimisation or sampling.

Examples and documentation

Pints comes with a number of detailed examples, hosted here on github. In addition, there is a full API documentation, hosted on readthedocs.io.

How can I install Pints?

You'll need the following requirements:

  • Python 2.7 or Python 3.4+
  • Python libraries: cma numpy matplotlib scipy

These will be installed automatically if you go to the directory you downloaded pints to, and run

$ pip install .

Or, if you want to install Pints as a developer, use

$ pip install -e .[dev,docs]

To uninstall again, type

$ pip uninstall pints

How can I contribute to Pints?

If you'd like to help us develop Pints by adding new methods, writing documentation, or fixing embarassing bugs, please have a look at these guidelines first.

Licensing

Pints is fully open source. For more information about its license, see LICENSE.