MSFitsIDI.h

Classes

MSFitsIDI -- MSFitsIDI: Convert FITS-IDI data to MS format (full description)

class MSFitsIDI

Interface

Public Members
MSFitsIDI(const Path& tapeDevice, const String& msOut, const Bool& overWrite)
MSFitsIDI(const String& inFile, const String& msOut, const Bool& overWrite)
~MSFitsIDI()
void selectFiles(const Vector<Int>& files)
Bool fillMS()
Protected Members
void init(const String& dataSource, const FITS::FitsDevice& deviceType, const String& msOut, const Bool& overWrite)
void readFITSFile(Bool& atEnd)
void createOutputMS()

Description

Prerequisite

Etymology

From "MS" and "FITS-IDI

Synopsis

The MSFitsIDI class converts FITS-IDI data, on tape or disk, to MeasurementSet (MS) format.

Example


 

Motivation

Encapsulate all FITS-IDI to MS conversion capabilities.

To Do

Member Description

MSFitsIDI(const Path& tapeDevice, const String& msOut, const Bool& overWrite)

Construct from a tape device name and MS output file name

MSFitsIDI(const String& inFile, const String& msOut, const Bool& overWrite)

Construct from an input file name and an MS output file name

~MSFitsIDI()

Destructor

void selectFiles(const Vector<Int>& files)

Set which files are selected (1-rel; for tape-based data)

Bool fillMS()

Convert the FITS-IDI data to MS format

void init(const String& dataSource, const FITS::FitsDevice& deviceType, const String& msOut, const Bool& overWrite)

Initialization (called by all constructors)

void readFITSFile(Bool& atEnd)

Read and process a FITS-IDI file

void createOutputMS()

Create a new, empty output MS