32 #include <casacore/casa/aips.h> 33 #include <casacore/ms/MeasurementSets/MSColumns.h> 34 #include <casacore/ms/MeasurementSets/MeasurementSet.h> 35 #include <casacore/casa/Arrays/IPosition.h> 41 class MSDataDescColumns;
42 class MSSpWindowColumns;
43 class MSPolarizationColumns;
45 class MSDataDescription;
49 class MSSpectralWindow;
50 template <
class T>
class Block;
84 const String& obsidAndScanTableName=
"");
87 const uInt handling=0,
91 const String& destMSName=
"");
130 const uInt& rowi,
const uInt& rowj);
162 col.
get(row_i, value_i);
163 col.
get(row_j, value_j);
164 return (value_i == value_j);
178 if( (ni==0 && nj==0) ||
179 allEQ(arr_i, arr_j)){
187 auto iter = m.find(k);
188 return (iter == m.end() ? -1 : iter->second);
A Vector of integers, for indexing into Array<T> objects.
void concatenate(const MeasurementSet &otherMS, const uInt handling=0, const String &destMSName="")
A Table intended to hold a MeasurementSet OBSERVATION table.
void checkShape(const IPosition &otherShape) const
Bool checkEphIdInField(const MSFieldColumns &otherFldCol) const
A class to provide easy access to MSObservation columns.
std::map< Int, Int > newSourceIndex2_p
Block< uInt > copyAntennaAndFeed(const MSAntenna &otherAnt, const MSFeed &otherFeed)
A Table intended to hold a MeasurementSet POINTING table.
A Table intended to hold a MeasurementSet DATADESCRIPTION table.
Bool itsRespectForFieldName
Quantum< Double > itsFreqTol
A Table intended to hold a MeasurementSet WEATHER table.
Bool copyPointingB(MSPointing &otherPoint, const Block< uInt > &newAntIndices)
static IPosition getShape(const MSDataDescColumns &ddCols, const MSSpWindowColumns &spwCols, const MSPolarizationColumns &polCols, uInt whichShape)
Bool copySource(const MeasurementSet &otherms)
A Table intended to hold a MeasurementSet FEED table.
Block< uInt > copyField(const MeasurementSet &otherms)
std::map< Int, Int > newSPWIndex_p
A Table intended to hold a MeasurementSet SYSCAL table.
void setTolerance(Quantum< Double > &freqTol, Quantum< Double > &dirTol)
A Table intended to hold a MeasurementSet ANTENNA table.
Block< uInt > copyState(const MSState &otherState)
A class to provide easy access to MSField columns.
A class to provide easy access to MSSource columns.
void setRespectForFieldName(const Bool respectFieldName)
void get(uInt rownr, Array< T > &array, Bool resize=False) const
Get the array value in a particular cell (i.e.
std::map< Int, Int > otherObsIdsWithCounterpart_p
Int getMapValue(const std::map< Int, Int > &m, Int k)
size_t nelements() const
How many elements does this array have? Product of all axis lengths.
std::map< Int, Int > newSourceIndex_p
A Table intended to hold a MeasurementSet STATE table.
Bool copySysCal(const MSSysCal &otherSysCal, const Block< uInt > &newAndIndices)
Bool sourceRowsEquivalent(const MSSourceColumns &sourceCol, const uInt &rowi, const uInt &rowj, const Bool dontTestDirection=False, const Bool dontTestTransAndRest=False)
A class to provide easy access to MSSpectralWindow columns.
A Table intended to hold a MeasurementSet POLARIZATION table.
Quantum< Double > itsDirTol
bool Bool
Define the standard types used by Casacore.
Read and write access to an array table column with arbitrary data type.
A class with functions for concatenating MeasurementSets.
Bool copyWeather(const MSWeather &otherWeather, const Block< uInt > &newAndIndices)
void setWeightScale(const Float weightScale)
Block< uInt > copySpwAndPol(const MSSpectralWindow &otherSpw, const MSPolarization &otherPol, const MSDataDescription &otherDD)
void virtualconcat(MeasurementSet &otherMS, const Bool checkShapeAndCateg=True, const String &obsidAndScanTableName="")
void updateModelDataKeywords(MeasurementSet &ms)
template <class T, class U> class vector;
std::map< Int, Int > newObsIndexA_p
A Table intended to hold astronomical data (a set of Measurements).
A class to provide easy access to MSPolarization columns.
Bool areEQ(const ScalarColumn< T > &col, uInt row_i, uInt row_j)
std::map< Int, Int > newObsIndexB_p
void checkCategories(const MSMainColumns &otherCols) const
static IPosition isFixedShape(const TableDesc &td)
std::map< Int, Int > solSystObjects_p
A class for easy access to MeasurementSet main table columns.
A class to provide easy access to MeasurementSet columns.
String: the storage and methods of handling collections of characters.
Define the structure of a Casacore table.
Int copyObservation(const MSObservation &otherObs, const Bool remRedunObsId=True)
Access to a scalar table column with arbitrary data type.
Bool copyPointing(const MSPointing &otherPoint, const Block< uInt > &newAntIndices)
Vector< Bool > itsChanReversed
void get(uInt rownr, T &value) const
Get the data from a particular cell (i.e.
this file contains all the compiler specific defines
Bool obsRowsEquivalent(const MSObservationColumns &obsCol, const uInt &rowi, const uInt &rowj)
A class to provide easy access to MSDataDescription columns.
A Table intended to hold a MeasurementSet SPECTRAL_WINDOW table.