Skip to content

Commit 5d07361

Browse files
Jammy2211Jammy2211
authored andcommitted
more hacks
1 parent c635031 commit 5d07361

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

autoarray/inversion/pixelization/mappers/delaunay.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,9 @@ def pix_sub_weights(self) -> PixSubWeights:
283283
mappings = mappings.astype("int")
284284
sizes = sizes.astype("int")
285285

286+
print(mappings)
287+
print(sizes)
288+
286289
weights = pixel_weights_delaunay_from(
287290
source_plane_data_grid=self.source_plane_data_grid.over_sampled,
288291
source_plane_mesh_grid=self.source_plane_mesh_grid.array,

autoarray/structures/mesh/delaunay_2d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def delaunay(self) -> "scipy.spatial.Delaunay":
353353
vertex_neighbor_vertices = delaunay.vertex_neighbor_vertices
354354

355355
voronoi_areas = voronoi_areas_from(mesh_grid)
356-
split_points = self.split_cross
356+
357357
simplex_index_for_sub_slim_index = delaunay.find_simplex(self.source_plane_data_grid.over_sampled)
358358
splitted_simplex_index_for_sub_slim_index = delaunay.find_simplex(
359359
self.split_cross

0 commit comments

Comments
 (0)