28 #ifndef MS_MSMETADATA_H
29 #define MS_MSMETADATA_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)
241 std::shared_ptr<const Quantum<Vector<Double> > >
getSourceTimes()
const;
256 Int scanNumber,
Int fieldID
292 std::map<SourceKey, std::shared_ptr<vector<MFrequency> > >
getRestFrequencies()
const;
311 std::map<SourceKey, std::shared_ptr<vector<String> > >
getTransitions()
const;
384 const vector<uInt>& which=std::vector<uInt>(0)
429 const std::set<Int>& scans,
Int obsID,
Int arrayID
610 vector<uInt>
nChans()
const;
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
954 std::shared_ptr<ArrayColumn<Bool> >
_getFlags()
const;
958 std::shared_ptr<Quantum<Vector<Double> > >
_getIntervals()
const;
962 std::shared_ptr<Vector<Int> >
_getScans()
const;
968 std::shared_ptr<Vector<Double> >
_getTimes()
const;
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
1012 std::shared_ptr<const std::map<ScanKey, MSMetaData::ScanProperties> >
_getScanProperties(
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);
1113 static uInt _sizeof(
const std::map<T, std::set<String> >& m);
1115 template <
class T,
class U>
1116 static uInt _sizeof(
const std::map<T, std::set<U> >& m);
1118 template <
class T,
class U>
1121 static uInt _sizeof(
const vector<std::set<String> >& m);
1125 static uInt _sizeof(
const vector<vector<String> >& m);
1133 static uInt _sizeof(
const vector<std::set<T> >& v);
1135 template <
class T>
static uInt _sizeof(
const std::map<
String, std::set<T> >& map);
1137 static uInt _sizeof(
const vector<std::map<Int, Quantity> >& map);
1139 static uInt _sizeof(
const std::map<std::pair<Int, uInt>, std::set<uInt> >& map);
A Measure: astronomical direction.
A Measure: position on Earth.
TableExprNode time(const TableExprNode &node)
Quantum< Double > Quantity
virtual casacore::String type() const
Implements RegionShape::type.
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the if a human readable name(i.e."black").In many places throughout the plotter
High-level interface to tables.
PredefinedColumns
The Main table colums with predefined meaning.
A Measure: instant in time.
A Measure: wave characteristics.
void interpolate(const casacore::String &interpmethod)
Interpolate for time variable source.
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 class to provide easy read-only access to MSPointing columns.
An ArrayKey is a unique combination of observation ID and array ID Negative values are allowed to ind...
DEFAULT IMPLEMENTATIONS Default implementation of PlotSingleData that supports raw arrays
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
A sub scan is a unique combination of observation ID, array ID, scan number, and field ID...
A Table intended to hold astronomical data (a set of Measurements).
A scan is a unique combination of observation ID, array ID, and scan number Negative values are allow...
String: the storage and methods of handling collections of characters.
ScanKey scanKey(const SubScanKey &subScanKey)
create a ScanKey from a SubScanKey, just omits the SubScanKey's fieldID
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.