164 const Int precAmpl=3,
const int precPhase=1,
165 const Int precWeight=0 );
170 const String& datacolumn=
"",
174 const String& timerange=
"",
175 const String& correlation=
"",
179 const String& observation=
"",
182 const bool showflags=
False,
183 const String& msSelect=
"",
184 const long pagerows=50,
185 const String& listfile=
"");
192 const String& baseline=
"",
194 const String& chanmode=
"none",
200 const String& correlation=
"",
202 const String& observation=
"",
203 const String& msSelect=
"");
Vector< Int > spwins_p
SpWId map from DDIs:
A 1-D Specialization of the Array class.
void clearFlags()
Clear the formatting flags.
List visibility records from a Measurement Set.
TableExprNode array(const TableExprNode &values, const TableExprNodeSet &shape)
Create an array of the given shape and fill it with the values.
void listData(const int pageRows=50, const String listfile="")
Most of the heavy lifting is in here.
void getRanges(const MeasurementSet &ms)
Get the ranges of a fixed set of MS key attributes.
Int pageWidth_p
Page params.
ostream-like interface to creating log messages.
A Measure: radial velocity.
void setPage(const uInt width=120, const uInt height=20)
Page size for various formats, output devices (default for landscape printing).
Bool multiSpw_p
True if listing multiple spws.
MSSelector mss_p
The MSSelector object used in list() etc.
MeasurementSet * pMSSel_p
Int columnWidth(const Vector< String > antNames)
Calculate column width for a Vector<String>
void listHeader()
A preamble of abbreviated MSSummary information.
Vector< String > items_p
for assigning desired columns from the ms
void selectvis(const String &timerange="", const String &spw="", const String &scan="", const String &field="", const String &baseline="", const String &uvrange="", const String &chanmode="none", const Int &nchan=1, const Int &start=0, const Int &step=1, const MRadialVelocity &mStart=MRadialVelocity(), const MRadialVelocity &mStep=MRadialVelocity(), const String &correlation="", const String &array="", const String &observation="", const String &msSelect="")
Set uv-data selection via MSSelection.
Int precTime_p
Precision control (digits to right of decimal point) (precTime_p includes hhmmss, so 7 yields hh:mm:s...
uInt npols_p
Pol counters.
MSLister()
Null constructor.
Vector< Int > indexPols_p
Polarization indexing variables; for polarization (correlation) selection.
uInt wTime_p
Field width variables.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
LogIO logStream_p
Output stream.
void initList()
Initialise the listing.
void setPrecision(const Int precTime=1, const Int precUVDist=0, const Int precAmpl=3, const int precPhase=1, const Int precWeight=0)
User choices for list precision (sensible defaults): (time precision for user interface is fraction o...
void listColumnHeader(ostream &myout)
Column header line for pagination of output.
Bool setNewOS(LogIO &os)
Change or set the OS this MSLister uses.
A Table intended to hold astronomical data (a set of Measurements).
void list(const String &options="", const String &datacolumn="", const String &field="", const String &spw="", const String &antenna="", const String &timerange="", const String &correlation="", const String &scan="", const String &feed="", const String &array="", const String &observation="", const String &uvrange="", const String &average="", const bool showflags=False, const String &msSelect="", const long pagerows=50, const String &listfile="")
List the visibilities, with optional data selection and output specification.
Record dataRecords_p
The conversion of the above to a regular Record object.
uInt oTime_p
Order of magnitude control (digits to left of decimal, including sign)
MSLister & operator=(MSLister &other)
Assignment, this will initialise the MSLister's MS with other's MS.
const String dashline_p
A formatting string for convenience.
Record ranges_p
The Record object containing the MSSelector ranges.
void _polarizationSetup(const uInt selPolID)
Setup class polarization information for specified MS.
Matrix< Int > chanList_p
List of channels.
Vector< String > pols_p
SpW/Pol info from subtables.
Bool doFld_p
Bools for column showing and to identify FLOAT_DATA column of single dish.
Bool setMS(MeasurementSet &ms)
Change or set the MS this MSLister refers to, and reinitialise the MSLister object.
String: the storage and methods of handling collections of characters.
MeasurementSet * pMS_p
Pointer to the MS.
MSSelector specifies selections on a MeasurementSet.
void setFormat(const uInt ndec=2)
Format for output, ie data display precision.
Bool multiChan_p
True if listing multiple channels.
Vector< String > dataColSel
Data selections data –> "amplitude", "phase" corrected –> "corrected_amplitude", "corrected_phase" mo...
void polarizationParse(String correlation)
Parse the correlation parameter value; fill indexPols_p to output selected polarizations.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.