<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="import/export" name="importmiriad" type="function">
<shortdescription>Convert a Miriad visibility file into a CASA MeasurementSet</shortdescription>
Convert a Miriad visibility file into a CASA MeasurementSet with
optional selection of spectral windows and weighting scheme
<param mustexist="true" name="mirfile" type="path">
<shortdescription>Name of input Miriad visibility file</shortdescription>
<description>Name of input Miriad visibility file
Example: mirfile='mydata.uv'
<example>mirfile='mydata.uv'</example>
<param name="vis" type="string">
<shortdescription>Name of output MeasurementSet</shortdescription>
<description>Name of output MeasurementSet
<example>vis='mydata.ms'</example>
<param name="tsys" type="bool">
<shortdescription>Use the Tsys to set the visibility weights</shortdescription>
<description>Use the Tsys to set the visibility weights
<param name="spw" type="intVec">
<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 channels)
spw='<2'; spectral windows less than 2 (i.e. 0,1)
spw='0:5~61'; spw 0, channels 5 to 61
spw='0,10,3:3~45'; spw 0,10 all channels, spw
spw='0~2:2~6'; spw 0,1,2 with channels 2
spw = '\*:3~64' channels 3 through 64 for all sp id's
spw = ' :3~64' will NOT work.
<value><value>-1</value></value>
<example>spw='1,3,4'</example>
<param name="vel" type="string">
<shortdescription>Select velocity reference (TOPO,LSRK,LSRD)</shortdescription>
<description>Select velocity reference