smafiller
Updated 2002-08-27

Tool for converting SMA FITS-IDI file to a MeasurementSet

It runs independently with main AIPS++ system. Current version does only support conversion of six of nine SMA FITS-IDI tables (see below). The updated smafiller runs on ver.1.7.

Components

    C++ :
    FitsIDItoMS.h, FitsIDItoMS.cc - Core class
    fitsidi2ms.cc - top level c++ code
    glish:
    smafiller.g - the end-user interface

Constructor
smafiller - Construct the smafiller tool
smafiller(msname, fitsname, host)
  msname - output MS file name
  fitsname - input FITS-IDI file name
  host - host where the input data are located (default=localhost).
  The host and client machines need to be set up for remote access through glish and this has not been done yet. Do not set, leave it as default.

Functions
smafiller.fill - fill the data
smafiller.done - destroy the smafiller tool

Usage

- include 'smafiller.g';  
- myfiller := smafiller('example.ms', '00223JZ01JUN18_1312.FIT');
- myfiller.fill();
- myfiller.done();

Mapping between FITS-IDI and MS tables
FITS-IDI tableMeasurementSet table
UV -> Main
AG -> Antenna
AN -> Feed
Polarizaiton
FQ -> Spectral_Window
SU -> Field
Source
TS -> Syscal
Following tables are not supported by the current fitsidi2ms
FG -> main, other subtables, + Flag_cmd
PN -> Pointing
GC -> Syscal

SMA data analysis AIPS++ documentation@NRAO