<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="bandpass" category="calibration">
<shortdescription>Calculates a bandpass calibration solution</shortdescription>
Determines the amplitude and phase as a function of frequency for each
spectral window containing more than one channel. Strong sources (or
many observations of moderately strong sources) are needed to obtain
accurate bandpass functions. The two solution choices are: Individual
antenna/based channel solutions 'B'; and a polynomial fit over the
channels 'BPOLY'. The 'B' solutions can determined at any specified
time interval, and is recommended if each channel has good
<param type="path" name="vis" mustexist="true">
<shortdescription>Name of input visibility file</shortdescription>
<description>Name of input visibility file
Example: vis='ngc5921.ms'
<param type="string" name="caltable">
<shortdescription>Name of output bandpass calibration table</shortdescription>
<description>Name of output bandpass calibration table
Example: caltable='ngc5921.bcal'
<param type="string" name="field">
<shortdescription>Select field using field id(s) or field name(s)</shortdescription>
<description>Select field using field id(s) or field name(s)
default: '' --> all fields
Use 'go listobs' to obtain the list id's or
names. If field string is a non-negative integer,
it is assumed a field index, otherwise, it is
field='0~2'; field ids 0,1,2
field='0,4,5~7'; field ids 0,4,5,6,7
field='3C286,3C295'; field named 3C286 and
field = '3,4C\*'; field id 3, all names
<param type="string" name="spw">
<shortdescription>Select spectral window/channels</shortdescription>
<description>Select spectral window/channels
spw='0~2,4'; spectral windows 0,1,2,4 (all