29#include <casacore/casa/aips.h>
30#include <casacore/ms/MeasurementSets/MSColumns.h>
31#include <casacore/ms/MeasurementSets/MeasurementSet.h>
32#include <casacore/casa/Arrays/IPosition.h>
80 const String& obsidAndProcAndScanTableName =
"");
83 const uInt handling = 0,
87 const String& destMSName =
"");
92 const Bool respectFieldName);
124 const Bool dontTestTransAndRest =
False);
162 col.
get(row_i, value_i);
163 col.
get(row_j, value_j);
164 return (value_i == value_j);
177 if ((ni == 0 && nj == 0) ||
178 allEQ(arr_i, arr_j)) {
185 auto iter = m.find(k);
186 return (iter == m.end() ? -1 : iter->second);
size_t nelements() const
How many elements does this array have?
void get(rownr_t rownr, Array< T > &array, Bool resize=False) const
Get the array value in a particular cell (i.e.
MSColumns(const MeasurementSet &ms)
Create a columns object that accesses the data in the specified MS.
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
Block< uInt > copyField(const MeasurementSet &otherms)
void setWeightScale(const Float weightScale)
void checkShape(const IPosition &otherShape) const
Block< uInt > copySpwAndPol(const MSSpectralWindow &otherSpw, const MSPolarization &otherPol, const MSDataDescription &otherDD)
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
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 > copyState(const MSState &otherState)
Quantum< Double > itsDirTol
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="")
Bool copyPhaseCal(const MeasurementSet &otherMS, const Block< uInt > &newAndIndices)
Int copyProcessor(const MSProcessor &otherObs, const Bool remRedunProcId=True)
Block< uInt > copyAntennaAndFeed(const MSAntenna &otherAnt, const MSFeed &otherFeed)
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 copyEOP(const MeasurementSet &otherMS)
Bool copyGainCurve(const MeasurementSet &otherMS, const Block< uInt > &newAndIndices)
std::map< Int, Int > newProcIndexA_p
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.
For temporary backward namespace compatibility, use casa as alias for casacore.
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.