Skip to content

Commit 7308daa

Browse files
committed
More accurate descriptions of parameters.
1 parent d4abfdd commit 7308daa

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

sourcefinder/utility/cli.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,15 +160,19 @@ def construct_argument_parser():
160160
"--structuring-element",
161161
type=ast.literal_eval,
162162
help="""
163-
Structuring element for morphological operations, provided as a Python-style nested list (e.g. '[[1,1,1],[1,1,1],[1,1,1]]').
164-
This is used for defining the connectivity in source detection.
163+
Structuring element for morphological operations, provided as a
164+
Python-style nested list, e.g. '[[1,1,1], [1,1,1], [1,1,1]]' for
165+
8-connectivity and '[[0,1,0], [1,1,1], [0,1,0]]' for 4-connectivity.
166+
This is used for defining the connectivity in connected-component
167+
labelling.
165168
""",
166169
)
167170

168171
image_group.add_argument(
169172
"--vectorized",
170173
action="store_true",
171-
help="Use vectorized operations where applicable.",
174+
help="Measure sources vectorized, this implies using 'tweaked "
175+
"moments' instead of Gaussian fits.",
172176
)
173177

174178
image_group.add_argument(

0 commit comments

Comments
 (0)