SubMS.h

Classes

SubMS -- SubMS provides functionalities to make a subset of an existing MS (full description)

class SubMS

Interface

Public Members
SubMS(String& theMS)
SubMS(MeasurementSet& ms)
~SubMS()
void setMS(MeasurementSet& ms)
void selectSpw(Vector<Int> spw, Vector<Int> nchan, Vector<Int> start, Vector<Int> step, Bool averchan=True)
void selectSource(Vector<Int> fieldid)
Bool makeSubMS(String& submsname, String& whichDataCol)
MeasurementSet* setupMS(String msname, Int nchan, Int npol, String telescop, Int obstype=0)
Private Members
Bool makeSelection()
Bool fillDDTables()
Bool fillFieldTable()
Bool fillMainTable(const String& which)
Bool copyAntenna()
Bool copyFeed()
Bool copyObservation()
Bool writeDiffSpwShape(String& columnName)
Bool writeSimilarSpwShape(String& columnName)

Description

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

SubMS ...from the SUBset of an MS

Synopsis

Member Description

SubMS(String& theMS)

SubMS(MeasurementSet& ms)

construct from an MS

~SubMS()

void setMS(MeasurementSet& ms)

Change or Set the MS this MSSelector refers to.

void selectSpw(Vector<Int> spw, Vector<Int> nchan, Vector<Int> start, Vector<Int> step, Bool averchan=True)

select spw and channels for each spw...

void selectSource(Vector<Int> fieldid)

select Time and time averaging or regridding void selectTime();

Select source or field

Bool makeSubMS(String& submsname, String& whichDataCol)

void selectSource(Vector sourceid);

Method to set if a phase Center rotation is needed void setPhaseCenter(Int fieldid, MDirection& newPhaseCenter);

Method to make the subMS

MeasurementSet* setupMS(String msname, Int nchan, Int npol, String telescop, Int obstype=0)

This setup a default new ms Can be called directly as its not dependent on any private variable

Bool makeSelection()

method that returns the selected ms

Bool fillDDTables()

Bool fillFieldTable()

Bool fillMainTable(const String& which)

Bool copyAntenna()

Bool copyFeed()

Bool copyObservation()

Bool writeDiffSpwShape(String& columnName)

Bool writeSimilarSpwShape(String& columnName)