Skip to content

Commit d41ec2c

Browse files
Jammy2211Jammy2211
authored andcommitted
review
1 parent fbcb29f commit d41ec2c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

autoarray/inversion/inversion/abstract.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -781,6 +781,9 @@ def max_pixel_list_from(
781781
filter_neighbors
782782
If True, the peak pixels are filtered such that they are the brightest pixel in the mapper and all
783783
of its neighbors.
784+
mapper_index
785+
The index of the mapper in the inversion to compute the max pixels for, where there may be multiple
786+
mappers in the inversion.
784787
785788
Returns
786789
-------
@@ -821,6 +824,12 @@ def max_pixel_centre(self, mapper_index: int = 0) -> Grid2DIrregular:
821824
"""
822825
Returns the centre of the brightest pixel in the mapper values.
823826
827+
Parameters
828+
----------
829+
mapper_index
830+
The index of the mapper in the inversion to compute the max pixels for, where there may be multiple
831+
mappers in the inversion.
832+
824833
Returns
825834
-------
826835
The centre of the brightest pixel in the mapper values.

0 commit comments

Comments
 (0)