### Demos for running persistent homology

This repository contains a few simple notebooks for computing persistent homology using Dionysus and Ripser.

### Installation

We recommend creating a virtual environment to test this code:

```
conda create -n 2021-cs233 python=3.6
conda activate 2021-cs233
pip install -r requirements.txt
```

This installs Jupyter Lab, which can be used to test out the included notebooks.

#### Javaplex and Matlab

Javaplex can be downloaded from https://github.com/appliedtopology/javaplex/releases/latest/.
A zipped copy (`matlab-examples-4.3.4.zip`) has been provided here. Please unzip the folder in place before running `demo_javaplex.m`.



### Sources:

Ripser: https://github.com/scikit-tda/ripser.py
Dionysus: https://mrzv.org/software/dionysus2/
Javaplex: http://appliedtopology.github.io/javaplex/

### Caveats/Contact

Author: Samir Chowdhury (samirc at stanford dot edu)
These notebooks are somewhat unofficial. If you run into trouble, feel free to shoot an email! 

