giotto-ai / giotto-tda

A high-performance topological machine learning toolbox in Python
https://giotto-ai.github.io/gtda-docs
Other
845 stars 173 forks source link

Boundary of homological features #672

Open chaxor opened 1 year ago

chaxor commented 1 year ago

Is there a simple way to get the information (indices) of each simplex that forms the boundary of a homological feature in the persistence diagram?

I have been able to achieve this with dionysus by tracking each point within the point cloud with an index, and placing some of the persistence information into a dataframe, wherein each feature has a homological dimension, birth, and death (included in gtda), as well as a birth simplex, death simplex, and homology nodes (which make up the boundary).

This was relatively simple to do with the 'pair' attribute in dionysus. However, I was wondering what the easiest way to achieve this in giotto-tda may be? I am interested in making the persistence diagram have information about the homology nodes / boundary show up in the hover tooltip of the plot.

I will continue to work towards this, but if the package itself already has a simple way to achieve this I'm sure many users would be interested to know.

Thank you for your wonderful package and help.