Changeset 1779 for branches/mergetest/external/atnf/PKSIO/PKSreader.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/PKSreader.h
r1720 r1779 37 37 #define ATNF_PKSREADER_H 38 38 39 #include <atnf/PKSIO/PKSmsg.h>40 39 #include <atnf/PKSIO/PKSrecord.h> 40 #include <atnf/PKSIO/SrcType.h> 41 41 42 42 #include <casa/aips.h> 43 43 #include <casa/Arrays/Matrix.h> 44 44 #include <casa/Arrays/Vector.h> 45 #include <casa/BasicSL/Complex.h> 45 46 #include <casa/BasicSL/String.h> 46 47 … … 70 71 class PKSreader* getPKSreader( 71 72 const String name, 73 const String antenna, 72 74 const Int retry, 73 75 const Int interpolate, … … 84 86 class PKSreader* getPKSreader( 85 87 const String name, 88 const String antenna, 86 89 const Vector<String> directories, 87 90 const Int retry, … … 97 100 Bool &haveSpectra); 98 101 99 class PKSreader : public PKSmsg 102 103 class PKSreader 100 104 { 101 105 public: … … 106 110 virtual Int open( 107 111 const String inName, 112 const String antenna, 108 113 Vector<Bool> &beams, 109 114 Vector<Bool> &IFs, … … 148 153 const Bool getSpectra = True, 149 154 const Bool getXPol = False, 155 const Bool getFeedPos = False, 156 const Bool getPointing = False, 150 157 const Int coordSys = 0) = 0; 158 151 159 152 160 // Find the range of the data selected in time and position. … … 157 165 Matrix<Double> &positions) = 0; 158 166 159 // Read the next data record. 167 // Read the next data record. 168 /** 169 virtual Int read( 170 Int &scanNo, 171 Int &cycleNo, 172 Double &mjd, 173 Double &interval, 174 String &fieldName, 175 String &srcName, 176 Vector<Double> &srcDir, 177 Vector<Double> &srcPM, 178 Double &srcVel, 179 String &obsType, 180 Int &IFno, 181 Double &refFreq, 182 Double &bandwidth, 183 Double &freqInc, 184 Vector<Double> &restFreq, 185 Vector<Float> &tcal, 186 String &tcalTime, 187 Float &azimuth, 188 Float &elevation, 189 Float &parAngle, 190 Float &focusAxi, 191 Float &focusTan, 192 Float &focusRot, 193 Float &temperature, 194 Float &pressure, 195 Float &humidity, 196 Float &windSpeed, 197 Float &windAz, 198 Int &refBeam, 199 Int &beamNo, 200 Vector<Double> &direction, 201 Vector<Double> &scanRate, 202 Vector<Float> &tsys, 203 Vector<Float> &sigma, 204 Vector<Float> &calFctr, 205 Matrix<Float> &baseLin, 206 Matrix<Float> &baseSub, 207 Matrix<Float> &spectra, 208 Matrix<uChar> &flagged, 209 Complex &xCalFctr, 210 Vector<Complex> &xPol) = 0; 211 **/ 212 /** 213 // Read the next data record, just the basics. 214 virtual Int read( 215 Int &IFno, 216 Vector<Float> &tsys, 217 Vector<Float> &calFctr, 218 Matrix<Float> &baseLin, 219 Matrix<Float> &baseSub, 220 Matrix<Float> &spectra, 221 Matrix<uChar> &flagged) = 0; 222 **/ 160 223 virtual Int read(PKSrecord &pksrec) = 0; 161 224 … … 164 227 165 228 protected: 166 Bool cGetSpectra, cGetXPol;229 Bool cGetFeedPos, cGetSpectra, cGetXPol, cGetPointing; 167 230 Int cCoordSys; 168 231
Note: See TracChangeset
for help on using the changeset viewer.