[71] | 1 | # FULL PARAMETER LIST |
---|
| 2 | # ------------------- |
---|
| 3 | # |
---|
[142] | 4 | # This file contains the full list of user-definable parameters. They are |
---|
| 5 | # grouped here according to their use, and the values quoted are the defaults: |
---|
| 6 | # if a given parameter is not included in your parameter file, this is the |
---|
| 7 | # value it will take. |
---|
[71] | 8 | # |
---|
| 9 | # |
---|
[3] | 10 | # INPUT RELATED |
---|
[525] | 11 | # imageFile -- the FITS image. THERE IS NO DEFAULT FOR THIS. |
---|
[3] | 12 | # flagSubsection -- whether to get a subsection of that image. |
---|
| 13 | # subsection -- the subsection to read in, in format [x1:x2,y1:y2,z1:z2], |
---|
| 14 | # or * to indicate the full range |
---|
[211] | 15 | # flagReconExists -- set to true if the reconstructed cube exists as a FITS |
---|
[142] | 16 | # file (ie. it has been saved from a previous Duchamp run) |
---|
[211] | 17 | # reconFile -- the location of the FITS file containing the reconstructed cube |
---|
| 18 | # flagSmoothExists -- set to true if the smoothed cube exists as a FITS |
---|
| 19 | # file (ie. it has been saved from a previous Duchamp run) |
---|
[483] | 20 | # smoothFile -- the location of the FITS file containing the smoothed cube |
---|
| 21 | # usePrevious -- whether to read the list of detected objects from a previously- |
---|
| 22 | # created log file |
---|
| 23 | # objectList -- the list of objects to plot in individual plots: used with usePrevious=true |
---|
[3] | 24 | |
---|
| 25 | imageFile your-file-here |
---|
[71] | 26 | flagSubsection 0 |
---|
[3] | 27 | subsection [*,*,*] |
---|
[71] | 28 | flagReconExists 0 |
---|
| 29 | reconFile your-reconstructed-file-here |
---|
[447] | 30 | flagSmoothExists 1 |
---|
| 31 | smoothFile your-smoothed-file-here |
---|
[483] | 32 | usePrevious false |
---|
| 33 | objectList * |
---|
[3] | 34 | |
---|
| 35 | # OUTPUT RELATED |
---|
[142] | 36 | # flagLog -- log the intermediate results? |
---|
| 37 | # logfile-- the file to put that in. |
---|
[3] | 38 | # outFile -- the final output list. |
---|
[363] | 39 | # flagSeparateHeader -- whether to write the header information |
---|
| 40 | # (i.e. parameters, statistics and number of detections) |
---|
| 41 | # to a separate file from the outFile (so that the |
---|
| 42 | # outFile just contains the table of detections). |
---|
| 43 | # headerFile -- the file to write the header information to. |
---|
[831] | 44 | # flagPlotSpectra -- whether to produce a file showing spectra of each detection |
---|
[3] | 45 | # spectraFile -- the postscript file of spectra |
---|
[425] | 46 | # flagTextSpectra -- whether to save a text file detailing the spectra |
---|
| 47 | # of each source |
---|
| 48 | # spectraTextFile -- the file in which to save the text-formatted spectra |
---|
[680] | 49 | # flagOutputMomentMap -- whether to save a FITS file containing the moment-0 map |
---|
| 50 | # fileOutputMomentMap -- the filename for the moment-0 FITS file. If not given, it defaults |
---|
| 51 | # to the format shown (for input file image.fits) |
---|
[386] | 52 | # flagOutputMask -- whether to save a FITS file containing a mask |
---|
| 53 | # array, showing the locations of detected objects |
---|
[525] | 54 | # fileOutputMask -- the filename for the mask file. If not given, it defaults |
---|
| 55 | # to the format shown (for input file image.fits) |
---|
[521] | 56 | # flagMaskWithObjectNum -- if true, the detected pixels in the mask array have |
---|
| 57 | # the object ID number, else they all have the value 1. |
---|
[211] | 58 | # flagOutputSmooth -- whether to save the smoothed arrays as a FITS file |
---|
[663] | 59 | # fileOutputSmooth -- the filename for the smoothed array file. If not given, it defaults |
---|
| 60 | # to the format shown (for input file image.fits). See documentation for |
---|
| 61 | # explanation of format. |
---|
[142] | 62 | # flagOutputRecon/Resid -- whether to save the reconstruction & residual arrays |
---|
| 63 | # as FITS files |
---|
[525] | 64 | # fileOutputRecon/Resid -- the filename for the reconstruction or residual files. |
---|
| 65 | # If not given, it defaults to the format shown (for input |
---|
| 66 | # file image.fits). See documentation for explanation of format. |
---|
[142] | 67 | # flagVOT -- make a VOTable file of the results? |
---|
| 68 | # votFile -- the file to put it in |
---|
| 69 | # flagKarma -- make a Karma annotation file of the results? |
---|
| 70 | # karmaFile -- the file to put it in |
---|
[17] | 71 | # flagMaps -- save postscript versions of the detection and 0th moment maps? |
---|
[3] | 72 | # detectionMap, momentMap -- the postscript files produced. |
---|
[195] | 73 | # flagXOutput -- display the moment map in a pgplot window |
---|
[447] | 74 | # newFluxUnits -- brightness units to convert the array values to |
---|
| 75 | # (eg. from Jy/beam to mJy/beam) |
---|
| 76 | # precFlux -- Desired precision for Flux value in outputs. |
---|
| 77 | # precVel -- Desired precision for Velocity/Frequency value in outputs. |
---|
| 78 | # precSNR -- Desired precision for peak SNR value in ouputs. |
---|
[3] | 79 | |
---|
[280] | 80 | flagLog 0 |
---|
[87] | 81 | logFile duchamp-Logfile.txt |
---|
| 82 | outFile duchamp-Results.txt |
---|
[363] | 83 | flagSeparateHeader 0 |
---|
| 84 | headerFile duchamp-Results.hdr |
---|
[831] | 85 | flagPlotSpectra 1 |
---|
[87] | 86 | spectraFile duchamp-Spectra.ps |
---|
[425] | 87 | flagTextSpectra 0 |
---|
| 88 | spectraTextFile duchamp-Spectra.txt |
---|
[670] | 89 | flagOutputMomentMap 0 |
---|
| 90 | fileOutputMomentMap image.MOM0.fits |
---|
[386] | 91 | flagOutputMask 0 |
---|
[525] | 92 | fileOutputMask image.MASK.fits |
---|
[521] | 93 | flagMaskWithObjectNum 0 |
---|
[211] | 94 | flagOutputSmooth 0 |
---|
[525] | 95 | fileOutputSmooth image.SMOOTH-ND-X.fits |
---|
[3] | 96 | flagOutputRecon 0 |
---|
[525] | 97 | fileOutputRecon image.RECON-A-B-C-D.fits |
---|
[3] | 98 | flagOutputResid 0 |
---|
[525] | 99 | fileOutputResid image.RESID-A-B-C-D.fits |
---|
[3] | 100 | flagVOT 0 |
---|
[87] | 101 | votFile duchamp-Results.xml |
---|
[26] | 102 | flagKarma 0 |
---|
[87] | 103 | karmaFile duchamp-Results.ann |
---|
[3] | 104 | flagMaps 1 |
---|
[87] | 105 | detectionMap duchamp-DetectionMap.ps |
---|
| 106 | momentMap duchamp-MomentMap.ps |
---|
[195] | 107 | flagXOutput 1 |
---|
[447] | 108 | newFluxUnits no-default |
---|
| 109 | precFlux 3 |
---|
| 110 | precVel 3 |
---|
| 111 | precSNR 2 |
---|
[3] | 112 | |
---|
| 113 | # FIXING UP THE CUBE |
---|
[285] | 114 | # flagTrim -- whether to trim blank pixels from the edges of the cube. |
---|
[3] | 115 | # flagBaseline -- whether to subtract spectral baselines before searching |
---|
[142] | 116 | # flagMW -- ignore a range of channels (to remove Milky Way emission)? |
---|
| 117 | # minMW, maxMW -- the first and last channels to be ignored |
---|
[3] | 118 | |
---|
[285] | 119 | flagTrim 0 |
---|
[71] | 120 | flagMW 0 |
---|
[3] | 121 | minMW 75 |
---|
| 122 | maxMW 112 |
---|
[87] | 123 | flagBaseline 0 |
---|
[3] | 124 | |
---|
| 125 | # GENERAL DETECTION RELATED |
---|
[258] | 126 | # flagStatSec -- Whether to only use a subsection of the cube to calculate |
---|
| 127 | # the statistics. |
---|
| 128 | # StatSec -- The subsection used for statistics calculations. It has the |
---|
| 129 | # same format as the pixel subsection. |
---|
[386] | 130 | # flagRobustStats -- Shall we use robust statistics to characterise |
---|
| 131 | # the noise in the image? |
---|
[142] | 132 | # flagNegative -- Are the features being searched for negative (set to true) |
---|
| 133 | # or positive (false -- the default)? |
---|
[3] | 134 | # snrCut -- How many sigma above mean is a detection when sigma-clipping |
---|
[195] | 135 | # threshold -- The threshold flux dividing source and non-source. Used instead |
---|
| 136 | # of calculating it from the cube's statistics. If not specified, |
---|
| 137 | # it will be calculated. |
---|
[3] | 138 | # flagGrowth -- Should the detections be "grown" to a lower significance value? |
---|
| 139 | # growthCut -- The lower threshold used when growing detections |
---|
[483] | 140 | # growthThreshold -- The lower threshold, used in conjunction with "threshold" |
---|
[738] | 141 | # beamarea -- the area of the beam in pixels (equivalent to the old beamsize |
---|
| 142 | # parameter). This value is overridden by the BMAJ, BMIN, BPA header |
---|
| 143 | # parameters if present. |
---|
| 144 | # beamFWHM -- the full-width at half-maximum of the beam, in pixels. Where given, |
---|
| 145 | # it overrides beamarea, but is overridden by the BMAJ, BMIN, BPA |
---|
| 146 | # headers. |
---|
[686] | 147 | # searchType -- how the searching is done. Either "spatial", where each 2D map is |
---|
| 148 | # searched then detections combined, or "spectral", where each 1D |
---|
| 149 | # spectrum is searched then detections combined. |
---|
[3] | 150 | |
---|
[258] | 151 | flagStatSec 0 |
---|
| 152 | StatSec [*,*,*] |
---|
[386] | 153 | flagRobustStats 1 |
---|
[63] | 154 | flagNegative 0 |
---|
[71] | 155 | snrCut 3. |
---|
[195] | 156 | threshold 0. |
---|
[3] | 157 | flagGrowth 0 |
---|
[87] | 158 | growthCut 2. |
---|
[483] | 159 | growthThreshold 0. |
---|
[801] | 160 | beamArea 0. |
---|
| 161 | beamFWHM 0. |
---|
[686] | 162 | searchType spatial |
---|
[3] | 163 | |
---|
| 164 | # RECONSTRUCTION RELATED |
---|
| 165 | # flagATrous -- Whether or not to do the reconstruction before searching |
---|
[142] | 166 | # reconDim -- The number of dimensions in which to perform the reconstruction. |
---|
| 167 | # scaleMin -- The minimum scale (starts at 1) to be included in the |
---|
| 168 | # reconstruction |
---|
[363] | 169 | # scaleMax -- The maximum scale to be included in the reconstruction. If it |
---|
| 170 | # is <=0 then the maximum scale is calculated from the size of |
---|
| 171 | # the array being reconstructed. |
---|
[3] | 172 | # snrRecon -- The threshold used in filtering the wavelet coefficient arrays. |
---|
[142] | 173 | # filterCode -- The code number for the choice of filter to be used in the |
---|
| 174 | # reconstruction: 1 = B3-spline filter, 2 = Triangle function, |
---|
| 175 | # 3 = Haar wavelet. Other numbers default to 2. |
---|
[3] | 176 | |
---|
[279] | 177 | flagATrous false |
---|
[258] | 178 | reconDim 1 |
---|
[3] | 179 | scaleMin 1 |
---|
[363] | 180 | scaleMax 0 |
---|
[71] | 181 | snrRecon 4. |
---|
[106] | 182 | filterCode 1 |
---|
[3] | 183 | |
---|
[275] | 184 | # SMOOTHING |
---|
| 185 | # flagSmooth -- whether to smooth the cube. |
---|
| 186 | # smoothType -- either "spectral" or "spatial" |
---|
| 187 | # hanningWidth -- the width parameter of the Hanning (spectral smoothing) |
---|
| 188 | # function |
---|
| 189 | # kernMaj -- the FWHM of the major axis of the 2D spatial smoothing gaussian |
---|
| 190 | # kernMin -- the FWHM of the minor axis of the 2D spatial smoothing gaussian |
---|
| 191 | # kernPA -- the position angle of the major axis of the 2D spatial |
---|
| 192 | # smoothing gaussian |
---|
[211] | 193 | |
---|
| 194 | flagSmooth false |
---|
[275] | 195 | smoothType spectral |
---|
[211] | 196 | hanningWidth 5 |
---|
[275] | 197 | kernMaj 3. |
---|
| 198 | kernMin 3. |
---|
| 199 | kernPA 0. |
---|
[211] | 200 | |
---|
[3] | 201 | # FALSE DISCOVERY RATE METHOD |
---|
| 202 | # flagFDR -- Whether or not to use the false discovery rate method instead of |
---|
| 203 | # simple sigma clipping. |
---|
[142] | 204 | # alphaFDR -- The "alpha" parameter for the FDR method -- what desired |
---|
| 205 | # percentage of discoveries will be false. Expressed as a decimal. |
---|
[543] | 206 | # FDRnumCorChan -- The number of neighbouring channels that are |
---|
| 207 | # correlated. This is used in the FDR algorithm |
---|
[3] | 208 | |
---|
| 209 | flagFDR 0 |
---|
[71] | 210 | alphaFDR 0.01 |
---|
[543] | 211 | FDRnumCorChan 2 |
---|
[3] | 212 | |
---|
| 213 | # MERGING PARAMETERS |
---|
[142] | 214 | # flagAdjacent -- Whether to use the "adjacent criterion" to judge if objects |
---|
| 215 | # are to be merged. |
---|
| 216 | # threshSpatial -- If flagAdjacent=false, this is the maximum spatial |
---|
| 217 | # separation between objects for them to be merged. |
---|
| 218 | # threshVelocity -- The maximum channel separation between objects for them |
---|
| 219 | # to be merged. |
---|
| 220 | # minChannels -- The minimum number of consecutive channels an object must have |
---|
| 221 | # for it to be accepted. |
---|
| 222 | # minPix -- Minimum number of spatial pixels a detected object must have for |
---|
| 223 | # it to be counted |
---|
[720] | 224 | # minVoxels -- Minimum number of voxels a detected object must have for it to be |
---|
| 225 | # counted |
---|
[672] | 226 | # flagRejectBeforeMerge -- If true, reject sources for not meeting the above |
---|
| 227 | # criteria before the merging stage |
---|
[691] | 228 | # flagTwoStageMerging -- If true, do an initial merge of a new source to the list |
---|
| 229 | # (that is, merge it with the first source in the list that |
---|
| 230 | # is close, but stop there) |
---|
[3] | 231 | |
---|
[691] | 232 | flagAdjacent 1 |
---|
| 233 | threshSpatial 3 |
---|
| 234 | threshVelocity 7 |
---|
| 235 | minChannels 3 |
---|
| 236 | minPix 2 |
---|
[720] | 237 | minVoxels 4 |
---|
[691] | 238 | flagRejectBeforeMerge 0 |
---|
| 239 | flagTwoStageMerging 1 |
---|
[3] | 240 | |
---|
| 241 | # OTHER PARAMETERS |
---|
[142] | 242 | # verbose -- whether to provide progress indicators on the terminal during |
---|
| 243 | # execution |
---|
| 244 | # drawBorders -- whether to draw borders around the detections on the moment |
---|
| 245 | # maps in the output. |
---|
| 246 | # drawBlankEdges -- whether to draw an outline around any BLANK regions in the |
---|
| 247 | # moment maps and image cutouts. |
---|
| 248 | # spectralMethod -- how to plot the spectra in the output -- the spectrum of |
---|
| 249 | # the peak pixel ("peak" -- the default), or integrated over |
---|
| 250 | # all spatial pixels present ("sum") |
---|
| 251 | # spectralUnits -- what units you want the spectral axis to be plotted in and |
---|
| 252 | # values quoted in (including the units of integrated flux) |
---|
[285] | 253 | # pixelCentre -- which option to use for quoting the centre of the detection. |
---|
| 254 | # Options are: centroid, average, peak. |
---|
[571] | 255 | # sortingParam -- which parameter to sort the final detection list on. |
---|
| 256 | # Options are: x-value, y-value, z-value, ra, dec, vel, w50, |
---|
[572] | 257 | # iflux, pflux, snr. |
---|
[142] | 258 | |
---|
[3] | 259 | verbose 1 |
---|
| 260 | drawBorders 1 |
---|
[142] | 261 | drawBlankEdges 1 |
---|
[64] | 262 | spectralMethod peak |
---|
[103] | 263 | spectralUnits km/s |
---|
[363] | 264 | pixelCentre centroid |
---|
[571] | 265 | sortingParam vel |
---|