Skip to content

Commit f0bcf88

Browse files
Jammy2211Copilot
andauthored
Update autoarray/inversion/mesh/mesh/delaunay.py
Co-authored-by: Copilot <[email protected]>
1 parent cff3930 commit f0bcf88

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

autoarray/inversion/mesh/mesh/delaunay.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,18 @@ def __init__(
3333
3434
Coordinates on the ``source_plane_data_grid`` are therefore given higher weights when paired with Delaunay
3535
triangle corners they are a closer distance to.
36+
37+
Parameters
38+
----------
39+
pixels : int
40+
The number of Delaunay pixels to use before accounting for any zeroed pixels. The total number of
41+
pixels in the mesh is ``pixels + zeroed_pixels``.
42+
areas_factor : float, optional
43+
A scaling factor used when computing pixel areas for the mesh. Defaults to ``0.5``.
44+
zeroed_pixels : int, optional
45+
The number of additional pixels to allocate that are treated as zeroed / inactive when using the mesh.
46+
These pixels increase the total mesh size to ``pixels + zeroed_pixels`` but are not expected to
47+
contribute to the reconstructed signal. Defaults to ``0``.
3648
"""
3749

3850
pixels = int(pixels) + zeroed_pixels

0 commit comments

Comments
 (0)