Importing Data from MIRIAD: Difference between revisions

From CASA Guides
Jump to navigationJump to search
No edit summary
No edit summary
Line 7: Line 7:
== Preparing MIRIAD data for export to FITS ==
== Preparing MIRIAD data for export to FITS ==


If you need to apply an update for the antenna positions, or linelength corrections, you should do these before exporting to FITS:
If you need to apply an update for the antenna positions, or linelength corrections, you should do these before exporting to FITS.
 
To update antenna positions:


<source lang="bash">
<source lang="bash">
# in bash
uvedit vis=$PROJECT.rest out=$PROJECT.base apfile=$ANTPOS
uvedit vis=$PROJECT.rest out=$PROJECT.base apfile=$ANTPOS
</source>
</source>


CASA does not handle linelength corrections, so if you want to apply these you should do it in MIRIAD before exporting to FITS:
To apply linelength corrections:


<source lang="bash">
<source lang="bash">
# in bash
linecal vis=$PROJECT.base
linecal vis=$PROJECT.base
#gpplt vis=$PROJECT.base yaxis=phase nxy=5,3 device=/xs options=wrap
uvcat vis=$PROJECT.base out=$PROJECT.lc
uvcat vis=$PROJECT.base out=$PROJECT.lc
</source>
</source>

Revision as of 15:16, 23 November 2009


A filler routine is currently being developed to convert native MIRIAD format data into a CASA measurement set, but it has not yet been completed. The following steps describe how to use FITS format files to transfer CARMA data into CASA, and should still be useful even after the filler is operational. At that time, a description of how to use the CARMA filler routine will be added to this page.

This page assumes you have MIRIAD already installed. All MIRIAD commands are given in their command-line form.

Preparing MIRIAD data for export to FITS

If you need to apply an update for the antenna positions, or linelength corrections, you should do these before exporting to FITS.

To update antenna positions:

# in bash
uvedit vis=$PROJECT.rest out=$PROJECT.base apfile=$ANTPOS

To apply linelength corrections:

# in bash
linecal vis=$PROJECT.base
uvcat vis=$PROJECT.base out=$PROJECT.lc



--Mthornle 19:05, 23 November 2009 (UTC)