Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 1.08 KB

README.md

File metadata and controls

61 lines (43 loc) · 1.08 KB

DPMFA

DOI

If you run into any problems please create a new issue at the upstream repository.

Usage example

  1. [Optional] Create a virtual environment for the project:
$ mkvirtualenv dpmfa
  1. Install the package:
$ pip install dpmfa
  1. Download the example from this repository, then install the required dependencies:
$ pip install -r example/requirements.txt
  1. Then, run the example:
$ python example/plots.py

You should now have a directory experiment_output/ with the results of the example simulation.

Development

First, clone the repo:

$ git clone <url-of-this-repo>

[Optional] Create a virtual environment for the project:

$ mkvirtualenv dpmfa

Install the required dependencies:

$ pip install -r requirements.txt -r requirements-dev.txt

Install the git hooks with pre-commit:

$ pre-commit install

Running tests:

$ py.test