<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>
<description>
Convert a Miriad visibility file into a CASA MeasurementSet with
optional selection of spectral windows and weighting scheme
</description>
<input>
<param mustexist="true" name="mirfile" type="path">
<shortdescription>Name of input Miriad visibility file</shortdescription>
<description>Name of input Miriad visibility file
Default: none
Example: mirfile='mydata.uv'
</description>
<value/>
<example>mirfile='mydata.uv'</example>
</param>
<param name="vis" type="string">
<shortdescription>Name of output MeasurementSet</shortdescription>
<description>Name of output MeasurementSet
Default: none
Example: vis='mydata.ms'
</description>
<value/>
<example>vis='mydata.ms'</example>
</param>
<param name="tsys" type="bool">
<shortdescription>Use the Tsys to set the visibility weights</shortdescription>
<description>Use the Tsys to set the visibility weights
Default: False
Options: False|True
</description>
<value>False</value>
</param>
<param name="spw" type="intVec">
<shortdescription>Select spectral window/channels</shortdescription>
<description>Select spectral window/channels
Default: '' (all spectral windows and channels)
Examples:
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
3 - chans 3 to 45.
spw='0~2:2~6'; spw 0,1,2 with channels 2
through 6 in each.
spw = '\*:3~64' channels 3 through 64 for all sp id's
spw = ' :3~64' will NOT work.
</description>
<value><value>-1</value></value>
<example>spw='1,3,4'</example>
</param>
<param name="vel" type="string">
<shortdescription>Select velocity reference (TOPO,LSRK,LSRD)</shortdescription>
<description>Select velocity reference
Default: telescope dependent, ATCA -> TOPO, CARMA
-> LSRK
Options: TOPO|LSRK|LSRD
Example: vel='LSRK'
</description>
<value/>
<example>vel='LSRK'</example>
</param>
<param name="linecal" type="bool">
<shortdescription>(CARMA) Apply line calibration</shortdescription>
<description>(CARMA) Apply line calibration
Default: False
Options: False|True
Only useful for CARMA data
</description>
<value>False</value>
</param>
<param name="wide" type="intVec">
<shortdescription>(CARMA) Select wide window averages</shortdescription>
<description>(CARMA) Select wide window averages
Select which of the wide-band channels should be loaded
Only useful for CARMA data
</description>