Skip to content

Releases

Perseus 6.1.0

Choose a tag to compare

@viditnanda viditnanda released this 26 Nov 00:05
aba38d5

What's Changed

  • Cubical: filtered discrete-gradient engine (dimensions 2-4) by @viditnanda in #1
  • Cubical: bit-tree working columns (ring-generic, after PHAT) + docs/ROADMAP.md by @viditnanda in #4
  • Cubical: planar engine for 2D images (union-finds + Alexander duality, unimodular certificate) by @viditnanda in #2
  • Simplicial sets, chain complexes over Z, integral outputs, magnitude homology, Laurent coefficients by @viditnanda in #3
  • Certificate: parallel big-candidate classification; Linial-Meshulam profile (ROADMAP step 2) by @viditnanda in #5
  • Certificate: proved by default everywhere; fast mode only on request, labelled loudly (ROADMAP step 3) by @viditnanda in #6
  • Docs: bad primes are the primes of torsion in relative homology (CERTIFICATE.md §7) by @viditnanda in #7
  • Step 4: Howell sweeps (batched classification chosen by measured cost) and torsion trajectories by @viditnanda in #9
  • Finite solvable groups: Anick resolution, integral homology and mod-p cohomology rings by @viditnanda in #10
  • Finite groups: mod-p rings via an F_p splitting and generator-only lifting by @viditnanda in #11
  • Finite groups: any finite group through its Sylow subgroups (stable elements) by @viditnanda in #12
  • Finite groups: induced maps on mod-p homology and persistence along a series (Ellis-King) by @viditnanda in #13
  • Finite groups: a short pcgs, and Perseus chooses the cheapest pcgs by @viditnanda in #14
  • cubes: packed sparse builder; reduce explicit complexes for integral output by @viditnanda in #15
  • Compute single-field Rips barcodes by connected component by @viditnanda in #16
  • Parallelize proved rational persistence on disconnected Rips inputs by @viditnanda in #17
  • Release 6.1: getting-started examples, changelog, web page, version 6.1.0 by @viditnanda in #18
  • Cite the all-versions Zenodo DOI by @viditnanda in #19

New Contributors

Full Changelog: v6.0.0...v6.1.0

Perseus 6.0.0

Choose a tag to compare

@viditnanda viditnanda released this 17 Nov 10:45
bbd2520

Perseus 6 is a complete rewrite of the Perseus persistent homology software. Its main new feature is a certificate: it computes the barcode over the rationals and lists exactly which primes p give a different barcode over F_p, and how the barcode changes for each.

What it computes

  • Rational barcodes with bad primes. Perseus first tries exact 64-bit arithmetic. If that suffices (the usual case), the barcode and the list of bad primes are proved.
    • On heavy torsion it switches to random 62-bit primes and reports an error bound that holds for every input (below 2^-64 by default).
    • --mode proved uses exact arithmetic throughout, with big integers where needed.
    • Bad primes above 2^64, and composites that can't be factored, are still classified: one run modulo N settles every prime factor of N at once.
  • Any prime field, with --coeff p.
  • Inputs:
    • Vietoris–Rips complexes of point clouds and distance matrices;
    • flag complexes;
    • simplicial and general cell complexes (arbitrary integer boundary coefficients);
    • cubical complexes: images, volumes and higher-dimensional grids, with periodic axes.

Engines

  • Rips: an implicit engine with edge collapse for degree 2 and up, and a sparse flag-complex engine for large sparse point clouds. The choice between them is automatic.
  • Cubical: an implicit engine in the design of Cubical Ripser. It is close to Cubical Ripser's speed and uses a third of its memory on large images.
  • On SO(3) and Linial–Meshulam benchmarks it is about 1.4–2× faster than GUDHI (with edge collapse) and Dionysus. Full comparisons, including where other tools win, are in the README.

Python

pip install perseus-tda

The functions are perseus.rips, flag, cubical, cells and simplices, with the same options and certificate as the command line.

Downloads

Ready-built executables for Linux (x86_64), macOS (Apple silicon and Intel) and Windows are attached below.

Notes

  • Old Perseus 4/5 input files can be converted with tools/convert_legacy.py. It reproduces the old semantics exactly; Perseus 4/5 computed over F_2.
  • The proofs behind the certificate are in docs/CERTIFICATE.md. Prior work used is credited in docs/TECHNIQUES.md.
  • On 2D images, GUDHI's CubicalPersistence is currently much faster. A dedicated 2D path is planned for 6.1.

MIT licence. To cite, use the Zenodo DOI for this release (see CITATION.cff).