We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec1e81e commit 37e81f1Copy full SHA for 37e81f1
1 file changed
autoarray/inversion/pixelization/image_mesh/overlay.py
@@ -220,11 +220,11 @@ def image_plane_mesh_grid_from(
220
origin=origin,
221
)
222
223
- overlaid_centres = geometry_util.grid_pixel_centres_2d_slim_from(
+ overlaid_centres = np.array(geometry_util.grid_pixel_centres_2d_slim_from(
224
grid_scaled_2d_slim=unmasked_overlay_grid,
225
shape_native=mask.shape_native,
226
pixel_scales=mask.pixel_scales,
227
- ).astype("int")
+ )).astype("int")
228
229
total_pixels = total_pixels_2d_from(
230
mask_2d=mask.array,
0 commit comments