Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homology of a cube #16

Closed
alexdkeros opened this issue Apr 27, 2018 · 1 comment
Closed

Homology of a cube #16

alexdkeros opened this issue Apr 27, 2018 · 1 comment

Comments

@alexdkeros
Copy link

Dear Ripser developers,

While trying to compute the persistent homology of a cube, expecting results similar to a 2-sphere, I get the following results:

point cloud
--------------
0.25 0.25 0.25
0.75 0.25 0.25
0.25 0.75 0.25
0.75 0.75 0.25
0.25 0.25 0.75
0.75 0.25 0.75
0.25 0.75 0.75
0.75 0.75 0.75

Results:
sneky_riipser_bug

The issues are the following:

1.There are only 5 generators of dimension 1.
2.There are no generators in dimension 2.
3.There is a generator in dimension 3 that should ideally be in dimension 2.

Could you please shed some light to this issue?

Thank you in advance,
Alexandros

@ubauer
Copy link
Member

ubauer commented Apr 28, 2018

Dear Alex,

this result is (surprisingly) correct. It is not too difficult to see that there should only be 5 generators in dimension 1. It is a very interesting and non-obvious exercise to show that there are no generators in dimension 2, but a generator in dimension 3.

Best, Uli

@ubauer ubauer closed this as completed Apr 28, 2018
mtsch pushed a commit to mtsch/ripser that referenced this issue May 9, 2018
Revert "[WIP] Lots of plotting fine tuning"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants