Skip to content

Commit

Permalink
switch to grid_info in the array tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
keewis committed Feb 12, 2025
1 parent 33e296e commit bc63a49
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/user-guide/array.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ We also need a kernel:
```{jupyter-execute}
_, kernel = hc.kernels.gaussian_kernel(
cell_ids,
resolution=grid_info.level,
indexing_scheme=grid_info.indexing_scheme,
grid_info=grid_info,
sigma=0.5,
kernel_size=5,
weights_threshold=1e-8,
Expand Down Expand Up @@ -88,8 +87,7 @@ and we can immediately define the kernel:
kernel_size = 5
_, kernel = hc.kernels.gaussian_kernel(
cell_ids,
resolution=grid_info.level,
indexing_scheme=grid_info.indexing_scheme,
grid_info=grid_info,
sigma=0.5,
kernel_size=kernel_size,
weights_threshold=1e-10,
Expand Down

0 comments on commit bc63a49

Please sign in to comment.