-
Notifications
You must be signed in to change notification settings - Fork 29
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
Bug in Healpix sampling in pygsp #7
Comments
Additionally, the current install instructions for pygsp gives a broken version for HealPix. As the kernel widths are only defined down to 32, which breaks pooling for smaller graphs. We should move directly to the head of the new_sphere_graph branch. I also believe the currently returned lat lon for healpy are incorrect, as the healpy documentation claims that it is returning colat & lon. |
Thanks for reporting those issues!
There was indeed a bug in the PyGSP.
I've expanded the range from 1 to 2048 in epfl-lts2/pygsp@c69398b.
Right. This has been fixed.
Agreed. And that will fix all the issues. 🙂 I've updated the instructions in the README. |
I believe the updated instructions still give a "broken" installation.
This repo is expecting Edit: fix typo |
Specifically this line will have to be updated to
Additionally, the "n_neighbors" or "k" parameter should probably be exposed, the current default is 20, while 8 may be sufficient. |
Arf you're right. I changed the default in pygsp to Where do you think we should expose |
I have no super strong opinion about the The nested=True is more important, since pooling assumes it to be nested, will you push a fix? Edit: typo |
Also the new repo is very cool! Will look more deeply into it tomorrow. |
Thanks! :) Yes the
I agree. It's clear where it's defined (a kNN graph class) but not so much in the HEALPix child class (and many other child classes). We might rename it at some point (ping epfl-lts2/pygsp#43). ( |
Would appreciate a fix from you! It's nearly midnight here in the U.S. |
Also highlight the number of neighbors as a parameter. Fixes omission from fixing #7
Done! 9ee5d09 |
Not sure the correct place to put this bug, but currently the healpix sampling is broken.
If we pass
n_neighbors=None
, the code in pygsp checks forNside
when function acceptsnside
.The text was updated successfully, but these errors were encountered: