From 9ee5d09c7464be35248ad2746266bbe42c593101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Defferrard?= Date: Fri, 19 Mar 2021 04:48:29 +0100 Subject: [PATCH] fix: pooling requires HEALPix in nested ordering Also highlight the number of neighbors as a parameter. Fixes omission from fixing #7 --- deepsphere/utils/laplacian_funcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepsphere/utils/laplacian_funcs.py b/deepsphere/utils/laplacian_funcs.py index 5ecef1a..d578235 100644 --- a/deepsphere/utils/laplacian_funcs.py +++ b/deepsphere/utils/laplacian_funcs.py @@ -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)