appliedtopology/javaplex

How to run persistent homology for specific dimension only?

peter308 opened this issue · 3 comments

Dear Admin

Is it possible to run persistent homology (PH) just for a specific dimension say k=3 or k=5?
Currently, Javaplex runs PH from 0 to k, is it possible to just run one dimension?
The reason for asking is because I think if just limit to a specific dimension will not need to use up too many memories which will cause the program to halt.

Best Regards,
Peter

JavaPlex does not currently support computing only for one specific dimension. It is worth noting that in order to enumerate the simplices in that dimension, (almost) all lower-dimensional simplices have to also be enumerated.

Dear Michiexile
I have made a minor change to Ripser, and it seems can calculate only in a specific dimension.
I compare the results of barcodes, it seems to be identical, and that is why I think javaplex can be modified into just calculating a specific dimension. However, I might be wrong since I am not the creator of the program. Anyway, thank you for the comments.

Best Regards,
Peter

We would be happy to take a pull request if you want to modify JavaPlex to enable this behavior. I don't think we have the developer resources right now to build it in.