From 83d10474bbf5dcccf20da0e233356e4ec492883d Mon Sep 17 00:00:00 2001 From: Larry Bradley Date: Fri, 22 Sep 2023 13:51:41 -0400 Subject: [PATCH] Update make_source_mask docstring --- photutils/segmentation/core.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/photutils/segmentation/core.py b/photutils/segmentation/core.py index 96de6ab6e..8661c12dd 100644 --- a/photutils/segmentation/core.py +++ b/photutils/segmentation/core.py @@ -1063,10 +1063,10 @@ def make_source_mask(self, *, size=None, footprint=None): Parameters ---------- size : int or tuple of int, optional - The size along each axis of the footprint used for the - source dilation. If ``size`` is a scalar, then a square - footprint of ``size`` will be used. If ``size`` has two - elements, they must be in ``(ny, nx)`` order. ``size`` + The size along each axis of the rectangular footprint used + for the source dilation. If ``size`` is a scalar, then a + square footprint of ``size`` will be used. If ``size`` has + two elements, they must be in ``(ny, nx)`` order. ``size`` should have odd values for each axis. To perform source dilation, either ``size`` or ``footprint`` must be defined. If they are both defined, then ``footprint`` overrides