Importing Data from MIRIAD: Difference between revisions
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> | ||
To apply linelength corrections: | |||
<source lang="bash"> | <source lang="bash"> | ||
# in bash | |||
linecal vis=$PROJECT.base | linecal vis=$PROJECT.base | ||
uvcat vis=$PROJECT.base out=$PROJECT.lc | uvcat vis=$PROJECT.base out=$PROJECT.lc | ||
</source> | </source> |
Revision as of 19: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)