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);
A Vector of integers, for indexing into Array<T> objects.
A Table intended to hold a MeasurementSet PROCESSOR table.
void concatenate(const MeasurementSet &otherMS, const uInt handling=0, const String &destMSName="")
A Table intended to hold a MeasurementSet OBSERVATION table.
void get(rownr_t rownr, Array< T > &array, Bool resize=False) const
Get the array value in a particular cell (i.e.
size_t nelements() const
How many elements does this array have? Product of all axis lengths.
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
Bool procRowsEquivalent(const MSProcessorColumns &procCol, const uInt &rowi, const uInt &rowj)
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.
std::map< Int, Int > newProcIndexB_p
Block< uInt > copyState(const MSState &otherState)
A class to provide easy access to MSField columns.
void checkShape(const IPosition &otherShape) const
A class to provide easy access to MSSource columns.
void setRespectForFieldName(const Bool respectFieldName)
void checkCategories(const MSMainColumns &otherCols) const
Bool sourceRowsEquivalent(const MSSourceColumns &sourceCol, const rownr_t &rowi, const rownr_t &rowj, const Bool dontTestDirection=False, const Bool dontTestTransAndRest=False)
std::map< Int, Int > otherObsIdsWithCounterpart_p
Int getMapValue(const std::map< Int, Int > &m, Int k)
Bool checkEphIdInField(const MSFieldColumns &otherFldCol) const
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 copyGainCurve(const MeasurementSet &otherMS, const Block< uInt > &newAndIndices)
A class to provide easy access to MSSpectralWindow columns.
A class to provide easy access to MSProcessor columns.
A Table intended to hold a MeasurementSet POLARIZATION table.
void virtualconcat(MeasurementSet &otherMS, const Bool checkShapeAndCateg=True, const String &obsidAndProcAndScanTableName="")
Quantum< Double > itsDirTol
bool Bool
Define the standard types used by Casacore.
Int copyProcessor(const MSProcessor &otherObs, const Bool remRedunProcId=True)
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 updateModelDataKeywords(MeasurementSet &ms)
Bool areEQ(const ScalarColumn< T > &col, rownr_t row_i, rownr_t row_j)
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.
std::map< Int, Int > newObsIndexB_p
uInt64 rownr_t
Define the type of a row number in a table.
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.
void get(rownr_t rownr, T &value) const
Get the data from a particular cell (i.e.
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)
Bool obsRowsEquivalent(const MSObservationColumns &obsCol, const rownr_t &rowi, const rownr_t &rowj)
Vector< Bool > itsChanReversed
std::map< Int, Int > newProcIndexA_p
A class to provide easy access to MSDataDescription columns.
A Table intended to hold a MeasurementSet SPECTRAL_WINDOW table.