Changeset 1427 for trunk/external/atnf/PKSIO/PKSreader.h
- Timestamp:
- 07/04/08 13:23:49 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external/atnf/PKSIO/PKSreader.h
r1399 r1427 2 2 //# PKSreader.h: Class to read Parkes multibeam data. 3 3 //#--------------------------------------------------------------------------- 4 //# Copyright (C) 2000-200 74 //# Copyright (C) 2000-2008 5 5 //# Associated Universities, Inc. Washington DC, USA. 6 6 //# … … 26 26 //# Charlottesville, VA 22903-2475 USA 27 27 //# 28 //# $Id: PKSreader.h,v 19.1 2 2007/11/12 03:37:56cal103 Exp $28 //# $Id: PKSreader.h,v 19.13 2008-06-26 01:50:24 cal103 Exp $ 29 29 //#--------------------------------------------------------------------------- 30 30 //# Original: 2000/08/02, Mark Calabretta, ATNF … … 40 40 #include <casa/BasicSL/String.h> 41 41 42 #include <casa/namespace.h> 43 42 44 // <summary> 43 45 // Class to read Parkes multibeam data. 44 46 // </summary> 45 46 #include <casa/namespace.h>47 47 48 48 // Open an appropriate PKSreader for a Parkes Multibeam dataset. … … 76 76 Bool &haveSpectra); 77 77 78 class MBrecord; 78 79 79 80 class PKSreader … … 132 133 Matrix<Double> &positions) = 0; 133 134 134 // Read the next data record. 135 // Read the next data record (MBrecord is defined below). 136 virtual Int read(MBrecord &mbrec) = 0; 137 138 // Read the next data record (for backwards compatibility, do not use). 135 139 virtual Int read( 136 140 Int &scanNo, … … 174 178 Matrix<uChar> &flagged, 175 179 Complex &xCalFctr, 176 Vector<Complex> &xPol) = 0;180 Vector<Complex> &xPol); 177 181 178 182 // Read the next data record, just the basics. … … 196 200 }; 197 201 202 203 // Essentially just a struct used as a function argument. 204 class MBrecord 205 { 206 public: 207 Int scanNo; 208 Int cycleNo; 209 Double mjd; 210 Double interval; 211 String fieldName; 212 String srcName; 213 Vector<Double> srcDir; 214 Vector<Double> srcPM; 215 Double srcVel; 216 String obsType; 217 Int IFno; 218 Double refFreq; 219 Double bandwidth; 220 Double freqInc; 221 Double restFreq; 222 Vector<Float> tcal; 223 String tcalTime; 224 Float azimuth; 225 Float elevation; 226 Float parAngle; 227 Float focusAxi; 228 Float focusTan; 229 Float focusRot; 230 Float temperature; 231 Float pressure; 232 Float humidity; 233 Float windSpeed; 234 Float windAz; 235 Int refBeam; 236 Int beamNo; 237 Vector<Double> direction; 238 Vector<Double> scanRate; 239 Int rateAge; 240 Int rateson; 241 Vector<Float> tsys; 242 Vector<Float> sigma; 243 Vector<Float> calFctr; 244 Matrix<Float> baseLin; 245 Matrix<Float> baseSub; 246 Matrix<Float> spectra; 247 Matrix<uChar> flagged; 248 Complex xCalFctr; 249 Vector<Complex> xPol; 250 }; 251 198 252 #endif
Note: See TracChangeset
for help on using the changeset viewer.