Skip to content

Commit 9ee5d09

Browse files
authored
fix: pooling requires HEALPix in nested ordering
Also highlight the number of neighbors as a parameter. Fixes omission from fixing #7
1 parent ab8160e commit 9ee5d09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deepsphere/utils/laplacian_funcs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def get_healpix_laplacians(nodes, depth, laplacian_type):
100100
for i in range(depth):
101101
pixel_num = nodes
102102
subdivisions = int(healpix_resolution_calculator(pixel_num)/2**i)
103-
G = SphereHealpix(subdivisions)
103+
G = SphereHealpix(subdivisions, nest=True, k=20)
104104
G.compute_laplacian(laplacian_type)
105105
laplacian = prepare_laplacian(G.L)
106106
laps.append(laplacian)

0 commit comments

Comments
 (0)