Closed TJPaik closed 2 years ago
The documentation for extend_filtration()
says
This function only uses the filtration values at the 0-dimensional simplices, and computes the extended persistence diagram induced by the lower-star filtration computed with these values.
The st
on which you compute persistence is not a lower-star filtration, so it isn't surprising you get different results. Currently, your call to st.make_filtration_non_decreasing()
has no effect. Did you mean to do st.reset_filtration(-np.inf,min_dim=1)
before that?
@mglisse Thanks! I must have read it wrong. Thank you for fixing it. Let me close this issue. 👍 I just added the make_filtration_non_decreasing part to make sure.
Hello, I'm a student who is interested in TDA. While using the gudhi, I found something strange. Please look at the code below.
The result is :
I think the ordinary part of extended persistent homology and the barcode of just persistent homology (excluding infinite barcode) should be the same, but the result is different. I think it's a bug if I didn't misunderstand the documentation.