Skip to content

Commit

Permalink
fix: pooling requires HEALPix in nested ordering
Browse files Browse the repository at this point in the history
Also highlight the number of neighbors as a parameter.
Fixes omission from fixing #7
  • Loading branch information
mdeff committed Mar 19, 2021
1 parent ab8160e commit 9ee5d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepsphere/utils/laplacian_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def get_healpix_laplacians(nodes, depth, laplacian_type):
for i in range(depth):
pixel_num = nodes
subdivisions = int(healpix_resolution_calculator(pixel_num)/2**i)
G = SphereHealpix(subdivisions)
G = SphereHealpix(subdivisions, nest=True, k=20)
G.compute_laplacian(laplacian_type)
laplacian = prepare_laplacian(G.L)
laps.append(laplacian)
Expand Down

0 comments on commit 9ee5d09

Please sign in to comment.