Go to the documentation of this file.
28 #ifndef MS_MSMETADATA_H
29 #define MS_MSMETADATA_H
31 #include <casacore/casa/aips.h>
32 #include <casacore/casa/Quanta/QVector.h>
33 #include <casacore/measures/Measures/MFrequency.h>
34 #include <casacore/measures/Measures/MPosition.h>
35 #include <casacore/ms/MeasurementSets/MeasurementSet.h>
36 #include <casacore/ms/MeasurementSets/MSPointingColumns.h>
37 #include <casacore/casa/Utilities/CountedPtr.h>
38 #include <casacore/tables/Tables/TableProxy.h>
43 template <
class T>
class ArrayColumn;
140 vector<std::set<uInt> >
getAntennaIDs(
const vector<String>& antennaNames)
const;
148 std::map<String, uInt>& namesToIDsMap,
149 const vector<uInt>& antennaIDs=vector<uInt>(0)
153 std::map<
String, std::set<uInt> >& namesToIDsMap,
154 const vector<uInt>& antennaIDs=vector<uInt>(0)
256 Int scanNumber,
Int fieldID
384 const vector<uInt>& which=std::vector<uInt>(0)
429 const std::set<Int>& scans,
Int obsID,
Int arrayID
645 Bool interpolate=
false,
Int initialguess=0
685 std::map<uInt, std::set<Double> >
times;
830 std::shared_ptr<std::map<ScanKey, MSMetaData::ScanProperties> >& scanProps,
831 std::shared_ptr<std::map<SubScanKey, MSMetaData::SubScanProperties> >& subScanProps,
851 std::shared_ptr<std::map<ScanKey, MSMetaData::ScanProperties> >& scanProps,
852 std::shared_ptr<std::map<SubScanKey, MSMetaData::SubScanProperties> >& subScanProps,
854 std::pair<std::map<ScanKey, ScanProperties>, std::map<SubScanKey, SubScanProperties> >
860 const std::map<SubScanKey, SubScanProperties>& subScanProps
864 Record& parent,
uInt& scanNRows, std::set<Int>& antennasForScan,
865 const ScanKey&
scanKey,
const std::map<SubScanKey, SubScanProperties>& subScanProps
887 std::shared_ptr<const std::map<SubScanKey, SubScanProperties> >
891 std::map<
String, std::set<uInt> >& namesToIDsMap
906 std::pair<std::map<ScanKey, ScanProperties>, std::map<SubScanKey, SubScanProperties> >
930 vector<std::set<String> >& fieldToIntentsMap,
931 std::map<
String, std::set<Int> >& intentToFieldsMap
935 vector<std::set<ScanKey> >& fieldToScansMap,
936 std::map<
ScanKey, std::set<Int> >& scanToFieldsMap
940 std::map<
Int, std::set<uInt> >& fieldToSpwMap,
941 vector<std::set<Int> >& spwToFieldMap
945 std::map<
Int, std::set<Int> >& fieldToStatesMap,
946 std::map<
Int, std::set<Int> >& stateToFieldsMap
950 std::shared_ptr<std::map<
Int, std::set<Double> > >& fieldToTimesMap,
951 std::shared_ptr<std::map<
Double, std::set<Int> > >& timesToFieldMap
997 std::map<SubScanKey, uInt>*& subScanToNACRowsMap,
998 std::map<SubScanKey, uInt>*& subScanToNXCRowsMap,
999 std::map<Int, uInt>*& fieldToNACRowsMap,
1000 std::map<Int, uInt>*& fieldToNXCRowsMap
1005 std::shared_ptr<std::map<SubScanKey, uInt> >& scanToNACRowsMap,
1006 std::shared_ptr<std::map<SubScanKey, uInt> >& scanToNXCRowsMap,
1007 std::shared_ptr<std::map<Int, uInt> >& fieldToNACRowsMap,
1008 std::shared_ptr<std::map<Int, uInt> >& fieldToNXCRowsMap
1025 std::map<
ScanKey, std::set<uInt> >& scanToDDIDMap,
1026 vector<std::set<ScanKey> >& ddIDToScanMap
1030 std::map<
ScanKey, std::set<String> >& scanToIntentsMap,
1031 std::map<
String, std::set<ScanKey> >& intentToScansMap
1035 std::map<
ScanKey, std::set<uInt> >& scanToSpwMap,
1036 vector<std::set<ScanKey> >& spwToScanMap
1048 std::set<uInt>& avgSpw, std::set<uInt>& tdmSpw,
1049 std::set<uInt>& fdmSpw, std::set<uInt>& wvrSpw,
1050 std::set<uInt>& sqldSpw
1054 vector<std::set<String> >& spwToIntentsMap,
1055 std::map<
String, std::set<uInt> >& intentToSpwsMap
1059 std::set<uInt>& avgSpw, std::set<uInt>& tdmSpw, std::set<uInt>& fdmSpw,
1060 std::set<uInt>& wvrSpw, std::set<uInt>& sqldSpw
1064 vector<std::set<String> >& statesToIntentsMap,
1065 std::set<String>& uniqueIntents
1071 std::shared_ptr<
const std::map<
SubScanKey, std::set<String> > >& subScanToIntentsMap,
1072 std::map<
String, std::set<SubScanKey> >& intentToSubScansMap
1076 std::shared_ptr<
const std::map<ScanKey, ScanProperties> >& scanProps,
1077 std::shared_ptr<
const std::map<SubScanKey, SubScanProperties> >& subScanProps,
1088 std::shared_ptr<std::map<SubScanKey, Double> >& subScanToNACRowsMap,
1089 std::shared_ptr<std::map<SubScanKey, Double> >& subScanToNXCRowsMap,
1090 std::shared_ptr<vector<Double> >& fieldToNACRowsMap,
1091 std::shared_ptr<vector<Double> >& fieldToNXCRowsMap
1096 vector<Double>*& fieldNACRows, vector<Double>*& fieldNXCRows,
1097 std::map<SubScanKey, Double>*& scanNACRows,
1098 std::map<SubScanKey, Double>*& scanNXCRows
1110 static uInt _sizeof(
const std::map<Double, MSMetaData::TimeStampProperties> & m);
1115 template <
class T,
class U>
1118 template <
class T,
class U>
1139 static uInt _sizeof(
const std::map<std::pair<Int, uInt>, std::set<uInt> >& map);
ScanKey scanKey(const SubScanKey &subScanKey)
create a ScanKey from a SubScanKey, just omits the SubScanKey's fieldID
An ArrayKey is a unique combination of observation ID and array ID Negative values are allowed to ind...
PredefinedColumns
The Main table colums with predefined meaning.
A sub scan is a unique combination of observation ID, array ID, scan number, and field ID.
Quantum< Double > Quantity
this file contains all the compiler specific defines
TableExprNode time(const TableExprNode &node)
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
std::set< ScanKey > scanKeys(const std::set< Int > &scans, const ArrayKey &arrayKey)
construct scan keys given a set of scan numbers and an ArrayKey
A scan is a unique combination of observation ID, array ID, and scan number Negative values are allow...