| Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
| Version 1.9 Build 803 |
|
ATCA data in on-line RPFITS format are read into an AIPS++ MS using the atcafiller tool.
The atcafiller tool can be used to read data from disk or CDROM. It allows selection on scan number, frequency band, frequency range and field name using the select function.
To run the atcafiller:
include 'atcafiller.g'
#
af := atcafiller('c999.ms', filenames="1999-01-01_0101.C999 1999-01-01_0202.C999",
options='reweight') # Construct
af.select(firstscan=3); # data selection
af.fill() # fill the actual data
af.done() # destroy filler tool
#
m := ms('c999.ms') # access the MS
In this example, we construct the filler tool from from two input RPFITS files, specifying that we wish to apply lag reweighting to suppress ringing and sources. Then the select function is used to select which data we wish to read from the RPFITS files. Then we call the fill function to actually read and convert the data to the MS.
Data which have been exported from AIPS or Miriad as UVFITS files can be read into an AIPS++ MS using the general UVFITS filler ms.fitstoms. For example:
include 'ms.g' m := fitstoms(msfile='atca.ms', fitsfile='/aips++/data/demo/ATCA.UV') m.done()