<casaxml xsi:schemaLocation="http://casa.nrao.edu/schema/casa.xsd file:///opt/casa/code/xmlcasa/xml/casa.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://casa.nrao.edu/schema/psetTypes.html">
<task category="calibration" name="blcal" type="function">
<shortdescription>Calculate a baseline-based calibration solution (gain or bandpass)</shortdescription>
This task determines a baseline by baseline gain (time) or bandpass
(freq) for all baseline pairs in the data set. For the usual
antenna-based calibration of interferometric data, this task gaincal
is recommended, even with only one to three baselines. For arrays
with closure errors, use blcal.
<param mustexist="true" name="vis" type="path">
<shortdescription>Name of input visibility file</shortdescription>
<description>Name of input visibility file
Example: vis='ngc5921.ms'
<param name="caltable" type="string">
<shortdescription>Name of output gain calibration table</shortdescription>
<description>Name of output gain calibration table
Example: caltable='ngc5921.gcal'
<param name="field" type="string">
<shortdescription>Select field using field id(s) or field name(s)</shortdescription>
<description>Select field using field id(s) or field name(s)
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 name="spw" type="string">
<shortdescription>Select spectral window/channels</shortdescription>
<description>Select spectral window/channels
Default: '' (all spectral windows and channels)
spw='0~2,4'; spectral windows 0,1,2,4 (all
spw='<2'; spectral windows less than 2