There are two ways of merging source lists,
The pre-merge is described in section 5.2.7. Here we introduce the post-merge.
The input lists to this command can be the result of a maximum likelihood detection (commands DETECT/MAXLIK or COMPUTE/UPPER_LIMITS). The merging is done if the overlap condition is satisfied. An overlap may be within the position error circle, the extent size circle and/or the FWHM size circle. The conditions can be set by flags specified in the parameter file. The scaling of the size of the circle is done by parameters as well. Two merge methods are available, either the source with the largest existence likelihood determines the merged source position or the merged position is the mean position of all sources fulfilling the merge criterion weighted with the existence likelihood of the contributing members.
The command
MERGE/ML_SOURCE_TABLES [parfil] [edit]works via a parameter file parfil (mppar.par in the default) which is offered to be edited (cf. Table 5.9) or which can be created by the command
Table 5.9: Parameter file for MERGE/ML_SOURCE_TABLES
CREATE/PARFIL MP mpparThe parameters of the parameter file mppar.par are described in more detail:
The tables SOLST1, ..., SOLSTN must have at least the following columns: :X_IMA, :Y_IMA, :EXI_ML, :XERR, :YERR and :EXT. Further columns are mandatory (an index column :INDEX is recommended).
Columns :X_IMA and :Y_IMA will be calculated with reference to REF_IMAGE. In case TRANSP_SOLST_COL_FLAG is set to T, all further existing columns will be transferred. Columns containing coordinate information :X_SKY, :Y_SKY, :X_POS, :Y_POS still contain the old coordinates not related to the coordinates system of the reference image REF_IMAGE.
In case the flag TRANSP_SOLST_COL_FLAG is set to T, the columns :INDEX, :MRG and :LST will be put at the beginning of the table and the columns :RA_DEG, :DEC_DEG and :FWHM will be put at the end.
An existing column :INDEX in the source lists will be transferred into and renamed to a column :IND_O (old index).
In case the flag TRANSP_SOLST_COL_FLAG is set to F, the merged list contains the columns :INDEX, :MRG, :LST, :IND_O, :X_IMA, :Y_IMA, :EXI_ML, :XERR, :YERR, :EXT, :RA_DEG, :DEC_DEG and :FWHM.
The merged list contains besides the merged sources still the original sources contributing to the merged sources in continuation lines. The column :MRG shows if the entry is a merged entry. For :MRG = 0 it is the continuation line for an original source. For it is a merged source. :MRG gives the number of original sources contributing to the merged source (number of continuation lines).
The column :LST gives the number of the source lists from which the source is taken. The numbers 1,2,3, ... refer to the entries for the parameters SOLST1, SOLST2, SOLST3, ...
For the setting MERGE_METHOD = 2 (position weighting) :EXT and :FWHM is set to *. This means, no weighted source extension and :FWHM is determined.
It is recommended to check the MERGED_LIST for self consistency by merging with itself. Select the table with the condition :MRG.GT.0, copy it to a subtable (with COPY/TABLE) and merge this list with itself (NUM_OF_SOLST=1). If the number of merged sources reduces take this list as the relevant list.
Note:There is also a way to handle source lists coming from the local or map detection (commands DETECT/LOCAL or DETECT/MAP). These lists have first to be converted by the command
CONVERT/DETECTION_LISTS lslst1 solst_ls1
for the local detection list lslst1.tbl e.g.