mrzv / dionysus

Library for computing persistent homology
http://mrzv.org/software/dionysus2
Other
144 stars 31 forks source link

Dionysus 2

Dionysus is a computational topology package focused on persistent homology. It is written in C++, with Python bindings. The second version (previous version <http://mrzv.org/software/dionysus/>_) is re-written from scratch, which helps it accomplish a few goals:

Features that haven't (yet) made it over from Dionysus 1 <http://mrzv.org/software/dionysus> include vineyards. Alpha shape filtrations are available via DioDe <https://github.com/mrzv/diode>.

Dependencies:

Requirements:

Contact:

Get, Build, Install

The simplest way to install Dionysus, as a Python package, is from PyPI <https://pypi.org/project/dionysus/>_:

.. parsed-literal::

pip install --verbose dionysus

Pass --upgrade to pip, if you have already installed some version of Dionysus.

Alternatively, you can install it directly from the development repository (this gives you the latest version):

.. parsed-literal::

pip install --verbose `git+https://github.com/mrzv/dionysus.git <https://github.com/mrzv/dionysus.git>`_

Alternatively, you can clone and build everything by hand. To get Dionysus 2, either clone its repository <https://github.com/mrzv/dionysus>_:

.. parsed-literal::

git clone `<https://github.com/mrzv/dionysus.git>`_

or download it as a Zip archive <https://github.com/mrzv/dionysus/archive/master.zip>_.

To build the project::

mkdir build
cd build
cmake ..
make

To use the Python bindings, either launch Python from .../build/bindings/python or add this directory to your PYTHONPATH variable, by adding::

export PYTHONPATH=.../build/bindings/python:$PYTHONPATH

to your ~/.bashrc or ~/.zshrc.

Documentation

Documentation for Dionysus can be found here <http://mrzv.org/software/dionysus2/>_.