appliedtopology / javaplex

Persistent Homology and Topological Data Analysis Library
BSD 3-Clause "New" or "Revised" License
193 stars 57 forks source link

How to achieve the representative cycle for each interval? #29

Open guoshiyuqian opened 1 year ago

guoshiyuqian commented 1 year ago

Hi,

I am wondering how I could get each representative cycle for each interval? The command 'persistence.computeAnnotatedIntervals(stream)' could be used to get cycles for dimensions starting from 0 to the given value, but the results are stored in a variable with the type 'AnnotatedBarcodeCollection' and I don't know how to extract the cycle related to each interval from it. Is there a way to do that?

Thank you very much for your help!

WenlongYangxjtu commented 8 months ago

Hello! Has your probelm been solved already?