We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 668aa42 commit 2b31e98Copy full SHA for 2b31e98
autoarray/inversion/inversion/mapper_valued.py
@@ -166,7 +166,7 @@ def max_pixel_centre(self) -> Grid2DIrregular:
166
max_pixel = np.argmax(self.values_masked)
167
168
max_pixel_centre = Grid2DIrregular(
169
- values=[self.mapper.source_plane_mesh_grid.array[max_pixel]]
+ values=[self.mapper.source_plane_mesh_grid[max_pixel]]
170
)
171
172
return max_pixel_centre
0 commit comments