appliedtopology / javaplex

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

Is it possible to retrieve the lifespans of intervals through class functions? #25

Open g1y5x3 opened 4 years ago

g1y5x3 commented 4 years ago

Hi, I have been working on counting the intervals that exceed certain lifespan. I have found a way to work around in matlab through converting to a cell object and then port all the starts and ends of intervals into matlab variable to do.

But I just wonder if there's any class member functions that I missed could retrieve that information already?

Thanks!

Yixiang

henryadams commented 4 years ago

Hi Yixiang, Off the top of my head, I don't know how to do this besides printing the start and end filtration values of an interval (say as Matlab variables), and then subtracting them. Best, Henry