subtract_gauss_from_image_shamfi.py¶
Use a table of gaussian properties to subtract gaussian sources from a specfied FITS image. Writes the gaussian subtracted image into a new FITS file. Also writes the subtracted sources into either a WODEN or RTS srclist
usage: subtract_gauss_from_image_shamfi.py [-h] [--fits_file FITS_FILE]
[--gauss_table GAUSS_TABLE]
[--output_srclist_name OUTPUT_SRCLIST_NAME]
[--srclist_type SRCLIST_TYPE]
[--outname OUTNAME] [--freq FREQ]
[--no_restore_beam]
Named Arguments¶
| --fits_file | FITS file to subtract gaussians from Default: False |
| --gauss_table | Text file containing any number of gaussian source parameters, each line entered as: x_cent(pixels) y_cent(pixels) major(FWHM, arcmins) minor(FWHM, arcmins) pa(deg) int_flux(Jy) Default: False |
| --output_srclist_name | |
Name of output srclist containing the subtracted gaussians - will add rts/woden depending on type of srclist to be output Default: “srclist_gaussian” | |
| --srclist_type | Type of srclist to output - options are: woden, rts, both, none. Defaults to both Default: “both” |
| --outname | Name for gaussian subtracted output FITS file. Defaults to using the input FITS name Default: “use_fits” |
| --freq | Frequency (Hz) of the image - defaults to looking for keyword FREQ and associated value Default: “from_FITS” |
| --no_restore_beam | |
Do not convolve gaussians with restoring beam of CLEANed image Default: True | |