Skip to content

HeJiaxing-hjx/Mix-GENEO

Repository files navigation

Mix-GENEO

Python scripts for the computation of Mix-GENEO for 2 parameter persistence filtrations on digital images from the .rivet files computed by RIVET and the .npy files computed by Multiparameter persistence landscape. The scripts make use of the pyrivet package (a Python API for interacting with RIVET) .

  • create_multiimg.py Random select a GENEO.
  • get_multicomplex_simplify.py Get bifiltration from two images .
  • change_order_simplify.py Get 500 examples bifiltration for multiGENEO, multiDGENEO and mixGENEO.
  • get_mnist_multicomplex.py Get complete MNIST bifiltration for multiGENEO, multiDGENEO and mixGENEO.
  • creat_multimatrix_500examples.py Create .rivet files and .npy files for 500 examples bifiltration.
  • creat_multimatrix_mnist.py Create .rivet files and .npy files for bifiltration on MNIST dataset.
  • matching_distance.py, hera.py, barcode.py, rank.py, rivet.py scripts taken from pyrivet.
  • multiparameter_landscape.py, multiparameter_landscape_plotting.py, one_parameter_classes.py, one_parameter_plotting.py, helper_functions.py scripts taken from Multiparameter persistence landscape.

Example Usage

We include a jupyter notebook displaying the interactive plotting capability of the scripts in this repository. The numpy file generated by Multiparamter landscape can be downloaded here Mix_GENEO_DATA.

  • This notebook was written by [Jiaxing He]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published