Reference¶
imcontsub¶
imcontsub [OPTIONS] File
Options
- --version¶
Show the version and exit.
- --output-prefix <str>¶
Name of ouput image
- --mask-image <File>¶
Mask image
- --sigma-clip <float,float,...>¶
Sigma clip for each iteration. Only required if mask-image is not given.
- --automask-per-iter, --no-automask-per-iter¶
Generate a new mask per iteration.
- --fit-model <str>¶
Fit function to model the continuum. WARNING: A median-filter continuum model may subsume low SNR line emission, use it with great care.
- Options:
b-spline | spline | polynomial | median-filter | scipy-median-filter | gcv-spline
- --order <int>¶
Order of spline/polynomial or number of top coefficeints to use for DCT reconstruction
- --vel-width <float>¶
Width of spline segments or median filter window in km/s.
- --chan-width <int>¶
Width of spline segments or median filter window in number of channels.
- --gcv-lambda <float>¶
GCV spline penalty. Zero is equivalent to an interpolating spline, high values lead to a flatter curve. If unset the parameter will be estimated using the GCV criterion; this can be very slow. Experience suggests that values chanwidth/nchan work best.
- --segments <float>¶
## This has been replaced by –vel-width. It will be removed in future releases ## Width of spline segments or median filter window in km/s. If given as a list, then it must have same sixe as –order.
- --cont-fit-tol <float>¶
Minimum perentage of valid spectrum data points required to do a fit. Spectra below this tolerance will be set to NaN. Leaving this unset may result in poor or NaN spectra in the output cubes
- --overwrite, --no-overwrite¶
Overwrite output image if it already exists
- --stokes-index <int>¶
Index of stokes channel (zero-based) to use.
- Options:
0 | 1 | 2 | 3
- --rest-freq <float>¶
Cube rest frequency in MHz. Will ignore the one in the FITS header if it exists.
- --stokes-axis, --no-stokes-axis¶
### DEPRECATED #### Set this flag if the input image has a stokes dimension. (Default is True).
- -hi, --hdu-index <int>¶
FITS primary HDU index
- --ra-chunks <int>¶
Chunking along RA-axis. If set to zero, no Chunking is perfomed.
- --nworkers <int>¶
Number of workers (one per CPU)
- --loglevel <str>¶
Log level for the output
- Options:
info | debug | trace | error | critical
Arguments
- File¶
Required argument