27 #ifndef PLOTMSSELECTION_H_
28 #define PLOTMSSELECTION_H_
60 FIELD, SPW, TIMERANGE, UVRANGE, ANTENNA, SCAN,
61 CORR, ARRAY, OBSERVATION, INTENT, FEED, MSSELECT)
A 1-D Specialization of the Array class.
casacore::Int forceNew_
Force appearance of new selection (even when not new)
static msselect casacore::String defaultValue(Field f)
Returns the default value for the given selection field.
StatsData< AccumType > copy(const StatsData< AccumType > &stats)
#define PMS_ENUM2(NAME, ALLMETHOD, ALLSTRMETHOD, CONVMETHOD,...)
void fromRecord(const casacore::RecordInterface &record)
Converts this object to/from a record.
const casacore::String & observation() const
void setUvrange(const casacore::String &v)
PlotMSSelection & operator=(const PlotMSSelection ©)
Copy operator.
const casacore::String & intent() const
bool fieldsNotEqual(const PlotMSSelection &other) const
casacore::String getMSName(CalTable &ct)
For MS + MSSelection.
Specifies an casacore::MS selection.
void setMsselect(const casacore::String &v)
void setFeed(const casacore::String &v)
const casacore::String & getValue(Field f) const
Gets/Sets the value for the given selection field.
bool isEmpty() const
Returns whether or not any selections have been made.
const casacore::String & field() const
Convenience methods for returning the standard selection fields.
casacore::String getAntTaql(casacore::MSSelection &mss, casacore::MeasurementSet &ms, casacore::String antExpr)
handle negation
casacore::Vector< int > selAnts1
const casacore::String & timerange() const
CalTable: Calibration table access and creation.
const casacore::String & spw() const
casacore::Vector< int > getSelectedAntennas2()
void setObservation(const casacore::String &v)
casacore::String getTaql(CalTable &ct)
CalTable::select uses taql string for selection.
define a (start,length,increment) along an axis
const casacore::String & antenna() const
void setField(const casacore::String &v)
Convenience methods for setting the standard selection fields.
const casacore::String & array() const
casacore::String toStringShort() const
Print out an abbreviated summary of the selection.
MSSelection: Class to represent a selection on an MS.
casacore::Record toRecord() const
A hierarchical collection of named fields of various types.
void setAntenna(const casacore::String &v)
PMS_ENUM1(Field, fields, fieldStrings, field, FIELD, SPW, TIMERANGE, UVRANGE, ANTENNA, SCAN, CORR, ARRAY, OBSERVATION, INTENT, FEED, MSSELECT) PMS_ENUM2(Field
Static //.
bool operator!=(const PlotMSSelection &other) const
const casacore::String & msselect() const
casacore::Vector< int > selAnts2
void setArray(const casacore::String &v)
casacore::Vector< int > getSelectedAntennas1()
Return lists of antennas that have been selected.
A Table intended to hold astronomical data (a set of Measurements).
void setCorr(const casacore::String &v)
void apply(casacore::MeasurementSet &ms, casacore::MeasurementSet &selectedMS, casacore::Vector< casacore::Vector< casacore::Slice > > &chansel, casacore::Vector< casacore::Vector< casacore::Slice > > &corrsel)
Applies this selection using the first casacore::MS into the second MS.
const casacore::String & scan() const
void setScan(const casacore::String &v)
void setTimerange(const casacore::String &v)
const casacore::String & uvrange() const
void initDefaults()
Initializes the values to their defaults.
String: the storage and methods of handling collections of characters.
const casacore::String & corr() const
std::map< Field, casacore::String > itsValues_
Selection field values.
void setForceNew(const casacore::Int &forcenew)
bool fieldsEqual(const PlotMSSelection &other) const
Abstract base class for Record classes.
void setSpw(const casacore::String &v)
const casacore::Int & forceNew() const
const casacore::String & feed() const
void setValue(Field f, const casacore::String &value)
bool operator==(const PlotMSSelection &other) const
Equality operators.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
void getValue(Field f, casacore::String &value) const
void setIntent(const casacore::String &v)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.