From 244caf092904832ab057d34f2bccd969618f4538 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 13 Feb 2026 12:56:49 +0000 Subject: [PATCH 1/2] Initial plan From 29a2d893275e6c25eded1b85c2985304c756df23 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 13 Feb 2026 13:00:00 +0000 Subject: [PATCH 2/2] Add documentation for skip_areas, use_voronoi_areas, and areas_factor parameters Co-authored-by: Jammy2211 <23455639+Jammy2211@users.noreply.github.com> --- autoarray/preloads.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/autoarray/preloads.py b/autoarray/preloads.py index f9c858e9b..1b4e00d28 100644 --- a/autoarray/preloads.py +++ b/autoarray/preloads.py @@ -82,6 +82,16 @@ def __init__( inversion, with the other component being the pixelization's pixels. These are fixed when the lens light is fixed to the maximum likelihood solution, allowing the blurred mapping matrix to be preloaded, but the intensity values will still be solved for during the inversion. + use_voronoi_areas + Whether to use Voronoi areas during Delaunay triangulation. When True, computes areas for each Voronoi + region which can be used in certain regularization schemes. Default is True. + areas_factor + Factor used to scale the Voronoi areas during split point computation. Default is 0.5. + skip_areas + Whether to skip Voronoi area calculations and split point computations during Delaunay triangulation. + When True, the Delaunay interface returns only the minimal set of outputs (points, simplices, mappings) + without computing split_points or splitted_mappings. This optimization is useful for regularization + schemes like Matérn kernels that don't require area-based calculations. Default is False. """ self.mapper_indices = None self.source_pixel_zeroed_indices = None