CASA task to invert solutions in a gain calibration table.
The application in mind is direction-dependent calibration, e.g. for peeling.
Latest version: 1.3 (download here)
Tested with: CASA Version 4.7.0
invgain is released under a BSD 3-Clause License (open source, commercially useable); refer to LICENSE for details.
Feedback regarding invgain is always welcome.
Download the latest version of the source files from here.
Place the source files into a directory containing your measurement set. Without changing directories, open CASA and type
then exit CASA. A number of files should have been produced, including
mytasks.py. Reopen CASA and type
To see the parameter listing, type
For more details on how invgain works, type
Now set some parameters and press go!
For a more permanent installation, place the source files into a dedicated invgain code directory and perform the steps above. Then go to the hidden directory
.casa which resides in your home directory and create a file called
init.py. In this file, put the line
invgain will now be available when you open a fresh terminal and start CASA within any directory.
Acknowledging use of invgain
invgain is provided in the hope that it (or elements of its code) will be useful for your work. If you find that it is, I would appreciate your acknowledgement by citing as follows (note the AAS guidelines for citing software):
Hales, C. A. 2016, invgain, v1.3, doi:10.5281/zenodo.163000, as developed on GitHub