Skip to content

Commit e102dc7

Browse files
authored
Merge pull request #215 from Jammy2211/copilot/sub-pr-214
Document skip_areas parameter in Preloads docstring
2 parents 12de13b + 29a2d89 commit e102dc7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

autoarray/preloads.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,16 @@ def __init__(
8282
inversion, with the other component being the pixelization's pixels. These are fixed when the lens light
8383
is fixed to the maximum likelihood solution, allowing the blurred mapping matrix to be preloaded, but
8484
the intensity values will still be solved for during the inversion.
85+
use_voronoi_areas
86+
Whether to use Voronoi areas during Delaunay triangulation. When True, computes areas for each Voronoi
87+
region which can be used in certain regularization schemes. Default is True.
88+
areas_factor
89+
Factor used to scale the Voronoi areas during split point computation. Default is 0.5.
90+
skip_areas
91+
Whether to skip Voronoi area calculations and split point computations during Delaunay triangulation.
92+
When True, the Delaunay interface returns only the minimal set of outputs (points, simplices, mappings)
93+
without computing split_points or splitted_mappings. This optimization is useful for regularization
94+
schemes like Matérn kernels that don't require area-based calculations. Default is False.
8595
"""
8696
self.mapper_indices = None
8797
self.source_pixel_zeroed_indices = None

0 commit comments

Comments
 (0)