mask_fits_shamfi.py

A script to split large radio galaxies into separate portions to be fitted. Outputs as many separated FITS files as directed, as well as plotting them.

usage: mask_fits_shamfi.py [-h] [--fits_file FITS_FILE] [--box BOX]
                           [--output_tag OUTPUT_TAG]

Named Arguments

--fits_file

Name of fits file to split

Default: False

--box Any number of areas to fit a gaussian to - specify by user pixel numbers. Add each box as as: x_low,x_high,y_low,y_high. For example, to fit two gaussians, one between 0 to 10 in the x range, 10 to 20 in the y range, and the other between 100 to 400 in the x range, 300 to 455 in the y range, enter this on the command line: mask_fits.py –box 0,10,10,20 –box 100,400,300,455
--output_tag

Tag name to add to outputs

Default: “mask”