<casaxml xsi:schemaLocation="http://casa.nrao.edu/schema/casa.xsd file:///opt/casa/code/xmlcasa/xml/casa.xsd" xmlns="http://casa.nrao.edu/schema/psetTypes.html" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<task type="function" name="polfromgain" category="calibration">
<shortdescription>Derive linear polarization from gain ratio</shortdescription>
<param type="path" name="vis" mustexist="true"><shortdescription>Name of input visibility file (MS)</shortdescription><description>Name of input visibility file (MS)</description>
<param type="path" name="tablein" mustexist="true"><shortdescription>Input calibration table</shortdescription><description>Input calibration table</description>
<param type="string" name="caltable"><shortdescription>Output calibration table (forces polarization correction if specified)</shortdescription><description>Output calibration table (forces polarization correction if specified)</description>
<param type="double" name="paoffset"><shortdescription>Manual position angle offset</shortdescription><description>Manual position angle offset</description>
vis -- Name of input visibility file
tablein -- Input calibration table (G or T)
caltable -- Output calibration table
default: '' (no new table)
if specified, new caltable with polarization removed is generated
paoffset -- Manual position angle offset
default: 0.0 (no extra offset)
example: paoffset=10.0 (10 degree offset)