Go to the documentation of this file.
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& obsidAndProcAndScanTableName=
"");
87 const uInt handling=0,
91 const String& destMSName=
"");
132 const uInt& rowi,
const uInt& rowj);
135 const uInt& rowi,
const uInt& rowj);
171 col.
get(row_i, value_i);
172 col.
get(row_j, value_j);
173 return (value_i == value_j);
187 if( (ni==0 && nj==0) ||
188 allEQ(arr_i, arr_j)){
196 auto iter = m.find(k);
197 return (iter == m.end() ? -1 : iter->second);
std::map< Int, Int > newSourceIndex_p
Bool copySysCal(const MSSysCal &otherSysCal, const Block< uInt > &newAndIndices)
Bool obsRowsEquivalent(const MSObservationColumns &obsCol, const uInt &rowi, const uInt &rowj)
Quantum< Double > itsFreqTol
static IPosition isFixedShape(const TableDesc &td)
void updateModelDataKeywords(MeasurementSet &ms)
size_t nelements() const
How many elements does this array have? Product of all axis lengths.
Vector< Bool > itsChanReversed
Bool copyWeather(const MSWeather &otherWeather, const Block< uInt > &newAndIndices)
std::map< Int, Int > newObsIndexA_p
void checkShape(const IPosition &otherShape) const
Bool itsRespectForFieldName
Int copyObservation(const MSObservation &otherObs, const Bool remRedunObsId=True)
void get(uInt rownr, Array< T > &array, Bool resize=False) const
Get the array value in a particular cell (i.e.
Bool sourceRowsEquivalent(const MSSourceColumns &sourceCol, const uInt &rowi, const uInt &rowj, const Bool dontTestDirection=False, const Bool dontTestTransAndRest=False)
Int copyProcessor(const MSProcessor &otherObs, const Bool remRedunProcId=True)
void concatenate(const MeasurementSet &otherMS, const uInt handling=0, const String &destMSName="")
Bool copyPointingB(MSPointing &otherPoint, const Block< uInt > &newAntIndices)
std::map< Int, Int > solSystObjects_p
Bool procRowsEquivalent(const MSProcessorColumns &procCol, const uInt &rowi, const uInt &rowj)
std::map< Int, Int > newProcIndexA_p
Bool copySource(const MeasurementSet &otherms)
Block< uInt > copySpwAndPol(const MSSpectralWindow &otherSpw, const MSPolarization &otherPol, const MSDataDescription &otherDD)
Bool copyPointing(const MSPointing &otherPoint, const Block< uInt > &newAntIndices)
std::map< Int, Int > newObsIndexB_p
void virtualconcat(MeasurementSet &otherMS, const Bool checkShapeAndCateg=True, const String &obsidAndProcAndScanTableName="")
Quantum< Double > itsDirTol
std::map< Int, Int > newProcIndexB_p
MSConcat(MeasurementSet &ms)
std::map< Int, Int > otherObsIdsWithCounterpart_p
this file contains all the compiler specific defines
void setTolerance(Quantum< Double > &freqTol, Quantum< Double > &dirTol)
Bool areEQ(const ScalarColumn< T > &col, uInt row_i, uInt row_j)
Int getMapValue(const std::map< Int, Int > &m, Int k)
Block< uInt > copyState(const MSState &otherState)
template <class T, class U> class vector;
String: the storage and methods of handling collections of characters.
void setRespectForFieldName(const Bool respectFieldName)
std::map< Int, Int > newSPWIndex_p
bool Bool
Define the standard types used by Casacore.
std::map< Int, Int > newSourceIndex2_p
void get(uInt rownr, T &value) const
Get the data from a particular cell (i.e.
Block< uInt > copyAntennaAndFeed(const MSAntenna &otherAnt, const MSFeed &otherFeed)
void setWeightScale(const Float weightScale)
void checkCategories(const MSMainColumns &otherCols) const
Block< uInt > copyField(const MeasurementSet &otherms)
Bool checkEphIdInField(const MSFieldColumns &otherFldCol) const
static IPosition getShape(const MSDataDescColumns &ddCols, const MSSpWindowColumns &spwCols, const MSPolarizationColumns &polCols, uInt whichShape)