File: astsegment.1

package info (click to toggle)
gnuastro 0.24-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 44,360 kB
  • sloc: ansic: 185,444; sh: 15,785; makefile: 1,303; cpp: 9
file content (261 lines) | stat: -rw-r--r-- 6,894 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.49.3.
.TH SEGMENT "1" "November 2025" "GNU Astronomy Utilities 0.24" "User Commands"
.SH NAME
Segment \- segmentation based on signal structure
.SH SYNOPSIS
.B astsegment
[\fI\,OPTION\/\fR...] \fI\,ASTRdata\/\fR
.SH DESCRIPTION
Segment is part of GNU Astronomy Utilities 0.24.
Segment will segment an initially labeled region based on structure with the
signal. It will first find true clumps (local maxima), estimate which ones have
strong connections, and then grow them to cover the full area of each
detection.
.PP
For more information, please run any of the following commands. In particular
the second contains a very comprehensive explanation of Segment's invocation:
expected input(s), output(s), and a full description of all the options.
.TP
All options and their values:
$ astsegment \fB\-P\fR
.TP
Inputs/Outputs and options:
$ info astsegment
.TP
Full section in manual/book:
$ info Segment
.TP
Full Gnuastro manual/book:
$ info gnuastro
.PP
If you couldn't find your answer in the manual, you can get direct help from
experienced Gnuastro users and developers. For more information, please run:
.IP
\f(CW$ info help-gnuastro\fR
.PP
Segment options:
.IP
Input:
.TP
\fB\-\-chdu\fR=\fI\,STR\/\fR
HDU/extension of convolved image in file.
.TP
\fB\-\-convolved\fR=\fI\,FITS\/\fR
Convolved image file to avoid convolution.
.TP
\fB\-\-dhdu\fR=\fI\,STR\/\fR
HDU containing detection image.
.TP
\fB\-d\fR, \fB\-\-detection\fR=\fI\,FITS\/\fR
Filename of detection image (to segment).
.TP
\fB\-h\fR, \fB\-\-hdu\fR=\fI\,STR\/\fR/INT
HDU containing values (science image).
.TP
\fB\-\-khdu\fR=\fI\,STR\/\fR
HDU containing kernel image.
.TP
\fB\-k\fR, \fB\-\-kernel\fR=\fI\,FITS\/\fR
Filename of kernel to convolve with input.
.TP
\fB\-\-sky\fR=\fI\,STR\/\fR/FLT
Filename of Sky values image to subtract.
.TP
\fB\-\-skyhdu\fR=\fI\,STR\/\fR
HDU containing Sky value to subtract.
.TP
\fB\-\-std\fR=\fI\,STR\/\fR/FLT
Filename of Sky standard deviation.
.TP
\fB\-\-stdhdu\fR=\fI\,STR\/\fR
HDU containing Sky standard deviation.
.TP
\fB\-\-variance\fR
STD input is actually variance.
.IP
Tessellation (tile grid):
.TP
\fB\-\-checktiles\fR
Tile IDs in an image, the size of input.
.TP
\fB\-F\fR, \fB\-\-remainderfrac\fR=\fI\,FLT\/\fR
Fraction of remainder to split last tile.
.TP
\fB\-\-interpmetric\fR=\fI\,STR\/\fR
Interpolation metric (radial, manhattan).
.TP
\fB\-\-interpnumngb\fR=\fI\,INT\/\fR
No. of neighbors to use for interpolation.
.TP
\fB\-\-interponlyblank\fR
Only interpolate over the blank tiles.
.TP
\fB\-L\fR, \fB\-\-largetilesize\fR=\fI\,INT[\/\fR,INT]
Sim. to \fB\-\-tilesize\fR, but for larger tiles.
.HP
\fB\-M\fR, \fB\-\-numchannels\fR=\fI\,INT[\/\fR,..] No. of channels in dim.s (FITS order).
.TP
\fB\-\-oneelempertile\fR
Display 1 element/tile, not full input res.
.TP
\fB\-\-workoverch\fR
Work (not tile) over channel edges.
.TP
\fB\-Z\fR, \fB\-\-tilesize\fR=\fI\,INT[\/\fR,INT]
Regular tile size on dim.s (FITS order).
.IP
Output:
.TP
\fB\-D\fR, \fB\-\-dontdelete\fR
Don't delete output if it exists.
.TP
\fB\-K\fR, \fB\-\-keepinputdir\fR
Keep input directory for automatic output.
.TP
\fB\-\-noobjects\fR
Finish with true clumps, don't create objects.
.TP
\fB\-\-outfitsnocommit\fR
No Git commit in 0\-th HDU of output FITS.
.TP
\fB\-\-outfitsnoconfig\fR
No metadata in 0\-th HDU of output FITS.
.TP
\fB\-\-outfitsnodate\fR
No 'DATE' in 0\-th HDU of output FITS.
.TP
\fB\-\-outfitsnoversions\fR
No versions in 0\-th HDU of output FITS.
.TP
\fB\-o\fR, \fB\-\-output\fR=\fI\,STR\/\fR
Output file name.
.TP
\fB\-\-rawoutput\fR
Output contains only CLUMPS and/or OBJECTS HDUs.
.TP
\fB\-\-tableformat\fR=\fI\,STR\/\fR
\&'txt', 'fits\-ascii', 'fits\-binary'.
.TP
\fB\-\-wcslinearmatrix\fR=\fI\,STR\/\fR
WCS linear matrix of output ('pc' or 'cd').
.IP
Segmentation:
.TP
\fB\-B\fR, \fB\-\-minskyfrac\fR=\fI\,FLT\/\fR
Min. fraction of undetected area in tile.
.TP
\fB\-\-checksegmentation\fR
Store segmentation steps in a file.
.TP
\fB\-\-checksn\fR
Save clump S/N values into a file.
.TP
\fB\-c\fR, \fB\-\-snquant\fR=\fI\,FLT\/\fR
S/N Quantile of true sky clumps.
.TP
\fB\-\-grownclumps\fR
Save grown clumps instead of original.
.TP
\fB\-G\fR, \fB\-\-gthresh\fR=\fI\,FLT\/\fR
Multiple of STD to stop growing clumps.
.TP
\fB\-\-minima\fR
Built internal clumps from minima.
.TP
\fB\-\-minnumfalse\fR=\fI\,INT\/\fR
Minimum number for S/N estimation.
.TP
\fB\-m\fR, \fB\-\-snminarea\fR=\fI\,INT\/\fR
Minimum area of clumps for S/N estimation.
.TP
\fB\-O\fR, \fB\-\-objbordersn\fR=\fI\,FLT\/\fR
Min. S/N for grown clumps as one object.
.TP
\fB\-s\fR, \fB\-\-clumpsnthresh\fR=\fI\,FLT\/\fR
S/N threshold of true clumps.
.TP
\fB\-v\fR, \fB\-\-keepmaxnearriver\fR
Keep clumps with peak touching a river.
.TP
\fB\-y\fR, \fB\-\-minriverlength\fR=\fI\,INT\/\fR
Minimum len of useful grown clump rivers.
.IP
Operating modes:
.TP
\-?, \fB\-\-help\fR
give this help list
.TP
\fB\-\-checkconfig\fR
List all config files and variables read.
.TP
\fB\-\-cite\fR
BibTeX citation for this program.
.TP
\fB\-\-config\fR=\fI\,STR\/\fR
Read configuration file STR immediately.
.TP
\fB\-\-config\-prefix\fR=\fI\,STR\/\fR
Custom prefix of option names config files.
.TP
\fB\-C\fR, \fB\-\-continueaftercheck\fR
Continue processing after checks.
.TP
\fB\-\-lastconfig\fR
Do not parse any more configuration files.
.TP
\fB\-\-minmapsize\fR=\fI\,INT\/\fR
Min. bytes to avoid RAM automatically.
.TP
\fB\-N\fR, \fB\-\-numthreads\fR=\fI\,INT\/\fR
Number of CPU threads to use.
.TP
\fB\-\-onlyversion\fR=\fI\,STR\/\fR
Only run if the program version is STR.
.TP
\fB\-P\fR, \fB\-\-printparams\fR
Print parameter values to be used and abort.
.TP
\fB\-\-quietmmap\fR
Don't print mmap'd file's name and size.
.TP
\fB\-q\fR, \fB\-\-quiet\fR
Only report errors, remain quiet about steps.
.TP
\fB\-S\fR, \fB\-\-setdirconf\fR
Set default values for this directory and abort.
.TP
\fB\-\-usage\fR
give a short usage message
.TP
\fB\-U\fR, \fB\-\-setusrconf\fR
Set default values for this user and abort.
.TP
\fB\-V\fR, \fB\-\-version\fR
print program version
.PP
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
.PP
GNU Astronomy Utilities home page: http://www.gnu.org/software/gnuastro/
.SH "REPORTING BUGS"
Report bugs to bug\-gnuastro@gnu.org.
.SH COPYRIGHT
Copyright \(co 2015\-2025 Free Software Foundation, Inc.
License GPLv3+: GNU General public license version 3 or later.
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.PP
Written/developed by Mohammad Akhlaghi
.SH "SEE ALSO"
The full documentation for
.B Segment
is maintained as a Texinfo manual.  If the
.B info
and
.B Segment
programs are properly installed at your site, the command
.IP
.B info Segment
.PP
should give you access to the complete manual.