Changeset 1779 for branches/mergetest/external/atnf/PKSIO/PKSMS2reader.h
- Timestamp:
- 07/29/10 19:13:46 (14 years ago)
- Location:
- branches/mergetest
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mergetest
- Property svn:mergeinfo changed
-
branches/mergetest/external/atnf/PKSIO/PKSMS2reader.h
r1720 r1779 68 68 virtual Int open( 69 69 const String msName, 70 const String antenna, 70 71 Vector<Bool> &beams, 71 72 Vector<Bool> &IFs, … … 85 86 String &bunit, 86 87 Float &equinox, 88 //String &freqRef, 87 89 String &dopplerFrame, 88 90 Double &mjd, … … 105 107 const Bool getSpectra = True, 106 108 const Bool getXPol = False, 109 const Bool getFeedPos = False, 110 const Bool getPointing = False, 107 111 const Int coordSys = 0); 112 108 113 109 114 // Find the range of the data selected in time and position. … … 115 120 116 121 // Read the next data record. 122 /** 123 virtual Int read( 124 Int &scanNo, 125 Int &cycleNo, 126 Double &mjd, 127 Double &interval, 128 String &fieldName, 129 String &srcName, 130 Vector<Double> &srcDir, 131 Vector<Double> &srcPM, 132 Double &srcVel, 133 String &obsMode, 134 Int &IFno, 135 Double &refFreq, 136 Double &bandwidth, 137 Double &freqInc, 138 Vector<Double> &restFreq, 139 Vector<Float> &tcal, 140 String &tcalTime, 141 Float &azimuth, 142 Float &elevation, 143 Float &parAngle, 144 Float &focusAxi, 145 Float &focusTan, 146 Float &focusRot, 147 Float &temperature, 148 Float &pressure, 149 Float &humidity, 150 Float &windSpeed, 151 Float &windAz, 152 Int &refBeam, 153 Int &beamNo, 154 Vector<Double> &direction, 155 Vector<Double> &scanRate, 156 Vector<Float> &tsys, 157 Vector<Float> &sigma, 158 Vector<Float> &calFctr, 159 Matrix<Float> &baseLin, 160 Matrix<Float> &baseSub, 161 Matrix<Float> &spectra, 162 Matrix<uChar> &flagged, 163 Complex &xCalFctr, 164 Vector<Complex> &xPol); 165 **/ 117 166 virtual Int read(PKSrecord &pksrec); 167 168 169 // Read the next data record, just the basics. 170 virtual Int read( 171 Int &IFno, 172 Vector<Float> &tsys, 173 Vector<Float> &calFctr, 174 Matrix<Float> &baseLin, 175 Matrix<Float> &baseSub, 176 Matrix<Float> &spectra, 177 Matrix<uChar> &flagged); 118 178 119 179 // Close the MS. … … 121 181 122 182 private: 183 Vector<String> splitAntennaSelectionString( const String s ); 184 void setupAntennaList( const String s ) ; 185 123 186 Bool cHaveBaseLin, cHaveCalFctr, cHaveSrcVel, cHaveTsys, cHaveXCalFctr, 124 cMSopen ;187 cMSopen, cHaveTcal, cHaveDataCol, cALMA, cHaveSysCal, cHaveCorrectedDataCol; 125 188 Int cCycleNo, cIdx, cNRow, cScanNo; 126 Double cTime ;189 Double cTime, lastmjd; 127 190 Vector<Int> cEndChan, cRefChan, cStartChan; 128 191 Vector<Bool> cBeams, cIFs; 129 192 Vector<Slicer> cDataSel; 193 String cDirRef, cTelName; 130 194 MeasurementSet cPKSMS; 195 Table cSysCalTab, tmptab, tmptab2; 196 197 //Vector<String> cAntenna; 198 Vector<Int> cAntId; 131 199 132 200 ROScalarColumn<Int> cScanNoCol; … … 135 203 ROScalarColumn<Int> cFieldIdCol; 136 204 ROScalarColumn<String> cFieldNameCol; 205 ROArrayColumn<Double> cFieldDelayDirCol; 137 206 ROScalarColumn<Int> cSrcIdCol; 207 ROScalarColumn<Int> cSrcId2Col; 138 208 ROScalarColumn<String> cSrcNameCol; 139 209 ROArrayColumn<Double> cSrcDirCol; … … 141 211 ROArrayColumn<Double> cSrcVelCol; 142 212 ROScalarColumn<Int> cStateIdCol; 213 ROScalarColumn<Double> cCalCol; 143 214 ROScalarColumn<String> cObsModeCol; 144 215 ROArrayColumn<Double> cSrcRestFrqCol; 145 216 ROScalarColumn<Int> cDataDescIdCol; 217 ROScalarColumn<Int> cSpWinIdCol; 146 218 ROArrayColumn<Double> cChanFreqCol; 219 ROScalarColumn<Double> cTotBWCol; 147 220 ROScalarColumn<Double> cWeatherTimeCol; 148 221 ROScalarColumn<Float> cTemperatureCol; 149 222 ROScalarColumn<Float> cPressureCol; 150 223 ROScalarColumn<Float> cHumidityCol; 224 ROArrayColumn<Float> cTcalCol; 151 225 ROScalarColumn<Int> cBeamNoCol; 152 226 ROArrayColumn<Double> cPointingCol; 227 ROScalarColumn<Double> cPointingTimeCol; 153 228 ROArrayColumn<Float> cTsysCol; 154 229 ROArrayColumn<Float> cSigmaCol; … … 158 233 ROArrayColumn<Float> cFloatDataCol; 159 234 ROArrayColumn<Bool> cFlagCol; 235 ROScalarColumn<Bool> cFlagRowCol; 160 236 ROScalarColumn<Complex> cXCalFctrCol; 161 237 ROArrayColumn<Complex> cDataCol; 238 ROArrayColumn<Complex> cCorrectedDataCol; 162 239 ROScalarColumn<Int> cNumReceptorCol; 240 ROScalarColumn<Bool> cSigStateCol; 241 ROScalarColumn<Bool> cRefStateCol; 242 163 243 }; 164 244
Note: See TracChangeset
for help on using the changeset viewer.