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