Metadata-Version: 2.1
Name: perseus-tda
Version: 6.0.0
Summary: Persistent homology over Q with certified bad primes, or over any prime field
Author: Vidit Nanda
License: MIT
Project-URL: Homepage, https://people.maths.ox.ac.uk/nanda/perseus/
Project-URL: Source, https://github.com/viditnanda/perseus
Classifier: Programming Language :: C++
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Scientific/Engineering :: Mathematics
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: numpy

# perseus-tda

Python interface to [Perseus 6](https://people.maths.ox.ac.uk/nanda/perseus/): persistent homology over Q,
together with every prime p for which coefficients in F_p give a different barcode, and a certificate
that the list is complete. Or simply over the prime field of your choice.

```python
import numpy as np, perseus
r = perseus.rips(points=np.random.rand(500, 3), maxdim=2)
r["barcode"][1]                  # H1 intervals, death = inf if essential
r["certificate"]["mode"]         # "proved" (exact arithmetic) or "fast" (random primes, error bound reported)
perseus.bad_primes(r)            # the primes for which F_p gives a different barcode
```

Also `perseus.cubical`, `perseus.flag`, `perseus.simplices` and `perseus.cells`. See the web page for details.
