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> 40 class ROMSMainColumns;
41 class ROMSDataDescColumns;
42 class ROMSSpWindowColumns;
43 class ROMSPolarizationColumns;
45 class MSDataDescription;
49 class MSSpectralWindow;
50 template <
class T>
class Block;
100 const String& obsidAndScanTableName=
"");
103 const uInt handling=0,
107 const String& destMSName=
"");
142 const uInt& rowi,
const uInt& rowj);
174 col.get(row_i, value_i);
175 col.get(row_j, value_j);
176 return (value_i == value_j);
186 col.get(row_i, arr_i,
True);
187 col.get(row_j, arr_j,
True);
190 if( (ni==0 && nj==0) ||
191 allEQ(arr_i, arr_j)){
A Vector of integers, for indexing into Array<T> objects.
SimpleOrderedMap< Int, Int > solSystObjects_p
SimpleOrderedMap< Int, Int > otherObsIdsWithCounterpart_p
Bool checkEphIdInField(const ROMSFieldColumns &otherFldCol) const
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
A class to provide easy read-write access to MSObservation columns.
Block< uInt > copyAntennaAndFeed(const MSAntenna &otherAnt, const MSFeed &otherFeed)
by default remove redundant observation table rows
A class to provide easy access to MSField columns.
A Table intended to hold a MeasurementSet POINTING table.
A Table intended to hold a MeasurementSet DATADESCRIPTION table.
Bool itsRespectForFieldName
Quantum< Double > itsFreqTol
Bool areEQ(const ROScalarColumn< T > &col, uInt row_i, uInt row_j)
Bool copyPointingB(MSPointing &otherPoint, const Block< uInt > &newAntIndices)
SimpleOrderedMap< Int, Int > newObsIndexB_p
Bool copySource(const MeasurementSet &otherms)
A Table intended to hold a MeasurementSet FEED table.
Block< uInt > copyField(const MeasurementSet &otherms)
SimpleOrderedMap< Int, Int > newSPWIndex_p
A class to provide easy read-only access to MSASpectralWindow columns.
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 read-write access to MSSource columns.
void setRespectForFieldName(const Bool respectFieldName)
SimpleOrderedMap< Int, Int > newObsIndexA_p
size_t nelements() const
How many elements does this array have? Product of all axis lengths.
A Table intended to hold a MeasurementSet STATE table.
static IPosition getShape(const ROMSDataDescColumns &ddCols, const ROMSSpWindowColumns &spwCols, const ROMSPolarizationColumns &polCols, uInt whichShape)
A Table intended to hold a MeasurementSet POLARIZATION table.
A class to provide easy read-only access to MSDataDesc columns.
Quantum< Double > itsDirTol
bool Bool
Define the standard types used by Casacore.
A class with functions for concatenating MeasurementSets.
void setWeightScale(const Float weightScale)
void checkCategories(const ROMSMainColumns &otherCols) const
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;
Bool sourceRowsEquivalent(const MSSourceColumns &sourceCol, const uInt &rowi, const uInt &rowj, const Bool dontTestDirection=False)
A Table intended to hold astronomical data (a set of Measurements).
MSConcat()
if their name is different
static IPosition isFixedShape(const TableDesc &td)
A class to provide easy read-only access to MSPolarization columns.
SimpleOrderedMap< Int, Int > newSourceIndex_p
A class to provide easy read-write 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)
Bool copyPointing(const MSPointing &otherPoint, const Block< uInt > &newAntIndices)
Vector< Bool > itsChanReversed
this file contains all the compiler specific defines
Bool obsRowsEquivalent(const MSObservationColumns &obsCol, const uInt &rowi, const uInt &rowj)
A class for easy read-only access to MeasurementSet main table columns.
SimpleOrderedMap< Int, Int > newSourceIndex2_p
A Table intended to hold a MeasurementSet SPECTRAL_WINDOW table.