<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="widebandpbcor" category="imaging" visibility="experimental">
<shortdescription>Wideband PB-correction on the output of the MS-MFS algorithm</shortdescription>
<description>WideBand Primary-beam correction. It computes a set of PBs at the specified frequencies, calculates Taylor-coefficient images that represent the PB spectrum, performs a polynomial division to PB-correct the output Taylor-coefficient images from clean(nterms>1), and recompute spectral index (and curvature) using the PB-corrected Taylor-coefficient images </description>
<param type="path" name="vis" kind="ms" mustexist="true"><shortdescription>Name of measurement set. </shortdescription><description>Name of measurement set. </description>
<param type="string" name="imagename"><shortdescription>Name-prefix of multi-termimages to operate on. </shortdescription><description>Name-prefix of multi-termimages to operate on. </description>
<param type="int" name="nterms"><shortdescription>Number of taylor terms to use</shortdescription><description>Number of taylor terms to use</description>
<param type="string" name="threshold"><shortdescription>Intensity above which to re-calculate spectral index </shortdescription><description>Intensity above which to re-calculate spectral index </description>
<param type="string" name="action"><shortdescription>PB-correction (pbcor) or only calc spectral-index (calcalpha)</shortdescription><description>PB-correction (pbcor) or only calc spectral-index (calcalpha)</description>
<param type="string" name="reffreq" subparam="true"><shortdescription>Reference frequency (if specified in clean)</shortdescription><description>Reference frequency (if specified in clean)</description>
<param type="double" name="pbmin" subparam="true"><shortdescription>PB threshold below which to not correct</shortdescription><description>PB threshold below which to not correct</description>
<param type="string" name="field" subparam="true"><shortdescription>Fields to include in the PB calculation</shortdescription><description>Fields to include in the PB calculation</description>
<param type="intVec" name="spwlist" subparam="true"><shortdescription>List of N spw ids</shortdescription><description>List of N spw ids</description>