imuse_mage_fwhm: Determine FWHM on objects in a (collapsed) image.
This is mainly for AIT and PAE.
- Note
- Most of the code is a copy of the muse_postproc_qc_fwhm() function.
Command line arguments:
-s sigma
(optional, default: from 50. down to 3.)
sigma level used for object detection; by default this loops through several sigma values, in decreasing order, until at least one object is found
-x extindex
(optional, default: load first image found)
extension index to load image from, can be zero to load the image from the primary data unit
-n extname
(optional, default: load first image found)
extension name (EXTNAME) to load image from
IMAGE
the filename of the image file to use
Return values:
0
Success
1
no filename given
2
argument -s
without any number
3
sigma value given after -s
is not positive
4
argument -x
without any number
5
extension index given after -x
is negative
6
no extension name given after -n
9
unknown option given
10
image file does not exist
11
image could not be loaded from file
20
no sources detected
50
unknown error