Replies: 1 comment 1 reply
-
Hi @quimalo ! Indeed, the diagrams might not have the same number of points. In your case, you can obtain diagrams with the same cardinalities by passing both distance matrices to VR in one call. For example,
Please let me know if that helps! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, I'm trying to compute the distance between two persistence diagrams calculated from different adjacency matrices.
I compute a persistence diagram from an adjacency matrix as follows:
and I do this for another diagram,
ppdd2
.Then I try to compute the distance between the two as follows:
and I get the error:
setting an array element with a sequence.
I think this is because each diagram has a different number of points for each homology dimension.
Is there a way to compute a distance between such diagrams?
Beta Was this translation helpful? Give feedback.
All reactions