Extract previously identified clumps of emission from an NDF EXTRACTCLUMPS
Two input NDFs are supplied; the NDF associated with parameter DATA contains the physical data values from which the clumps are to be extracted, whilst the NDF associated with parameter MASK contains integer values that identify the clump to which each pixel belongs. The two NDFs are assumed to be aligned in PIXEL coordinates. An output NDF is created that is a copy of the MASK NDF. Parameters describing the clumps extracted from the DATA NDF are stored in the CUPID extension of the output NDF, and may also be stored in an output catalogue. These are in the same form as the clump parameters created by the FINDCLUMPS command.
"
IDLAlg"
). Note, the other
reported clump properties such as total data value, peak data value, etc, are always based
on the full clump data values, including background. [TRUE] "
OUTCAT"
). No catalogue will be produced if a null (!) value is supplied. The created
file will be a FITS file containing a binary table. The columns in this catalogue will be the
same as those created by the "
OUTCAT"
parameter, but the table will in also hold the
contents of the FITS extension of the input NDF, and CADC-style provenance headers. [!] "
JSACAT"
). See the description of the OUTCAT parameter for the FINDCLUMPS
command for further information. "
None"
, the spatial shape of
each clump is not recorded in the output catalogue. Otherwise, the catalogue will have an
extra column named "
Shape"
holding an STC-S description of the spatial coverage of each
clump. "
STC-S"
is a textual format developed by the IVOA for describing regions within a
WCS - see http://www.ivoa.net/Documents/latest/STC-S.html for details. These STC-S
desriptions can be displayed by the KAPPA:LISTSHOW command, or using GAIA. Since STC-S
cannot describe regions within a pixel array, it is necessary to set parameter WCSPAR
to TRUE if using this option. An error will be reported if WCSPAR is FALSE. An error
will also be reported if the WCS in the input data does not contain a pair of scelestial sky
axes.
Polygon: Each polygon will have, at most, 15 vertices. If the data is 2-dimensional, the polygon is a fit
to the clump’
s outer boundary (the region containing all godo data values). If the data is
3-dimensional, the spatial footprint of each clump is determined by rejecting the least significant 10%
of spatial pixels, where "
significance"
is measured by the number of spectral channels that contribute
to the spatial pixel. The polygon is then a fit to the outer boundary of the remaining spatial
pixels.
Ellipse: All data values in the clump are projected onto the spatial plane and "
size"
of the collapsed
clump at four different position angles - all separated by 45 degrees - is found (see the OUTCAT
parameter for a description of clump "
size"
). The ellipse that generates the closest sizes at the four
position angles is then found and used as the clump shape.
Ellipse2: The above method for determining ellipses works well for clumps that are in fact elliptical,
but can generate extremely long thin ellipses for clumps are far from being ellitical. The "
Ellipse2"
option uses a different method for determining the best ellipse based on finding many marginal
profiles at one degree intervals of azimuth, and using the longest marginal profile as the major axis.
The ellipse is centred at the clump centroid.
Ellipse3: The same as "
Ellipse2"
except that the ellipse is centred at the clump peak, rather than the
clump centroid, and the pixel data values are used as weights when forming the mean radial distance
at each azimuth angle.
In general, ellipses will outline the brighter, inner regions of each clump, and polygons will
include the fainter outer regions. The dynamic default is "
Polygon"
if a JSA-style catalogue
(see parameters JSACAT) is being created, and "
None"
otherwise. Note, if a JSA-style
catalogue is being created an error will be reported if "
Ellipse"
, "
Ellipse2"
, "
Ellipse
3"
or "
None"
is selected. []