[1452] | 1 | //#---------------------------------------------------------------------------
|
---|
| 2 | //# PKSrecord.h: Class to store an MBFITS single-dish data record.
|
---|
| 3 | //#---------------------------------------------------------------------------
|
---|
[1720] | 4 | //# livedata - processing pipeline for single-dish, multibeam spectral data.
|
---|
| 5 | //# Copyright (C) 2000-2009, Australia Telescope National Facility, CSIRO
|
---|
[1452] | 6 | //#
|
---|
[1720] | 7 | //# This file is part of livedata.
|
---|
[1452] | 8 | //#
|
---|
[1720] | 9 | //# livedata is free software: you can redistribute it and/or modify it under
|
---|
| 10 | //# the terms of the GNU General Public License as published by the Free
|
---|
| 11 | //# Software Foundation, either version 3 of the License, or (at your option)
|
---|
| 12 | //# any later version.
|
---|
| 13 | //#
|
---|
| 14 | //# livedata is distributed in the hope that it will be useful, but WITHOUT
|
---|
[1452] | 15 | //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
---|
[1720] | 16 | //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
---|
| 17 | //# more details.
|
---|
[1452] | 18 | //#
|
---|
[1720] | 19 | //# You should have received a copy of the GNU General Public License along
|
---|
| 20 | //# with livedata. If not, see <http://www.gnu.org/licenses/>.
|
---|
[1452] | 21 | //#
|
---|
[1720] | 22 | //# Correspondence concerning livedata may be directed to:
|
---|
| 23 | //# Internet email: mcalabre@atnf.csiro.au
|
---|
| 24 | //# Postal address: Dr. Mark Calabretta
|
---|
| 25 | //# Australia Telescope National Facility, CSIRO
|
---|
| 26 | //# PO Box 76
|
---|
| 27 | //# Epping NSW 1710
|
---|
| 28 | //# AUSTRALIA
|
---|
[1452] | 29 | //#
|
---|
[1720] | 30 | //# http://www.atnf.csiro.au/computing/software/livedata.html
|
---|
| 31 | //# $Id: PKSrecord.h,v 1.2 2009-09-29 07:33:39 cal103 Exp $
|
---|
[1452] | 32 | //#---------------------------------------------------------------------------
|
---|
| 33 | //# Original: 2008/11/14, Mark Calabretta, ATNF
|
---|
| 34 | //#---------------------------------------------------------------------------
|
---|
| 35 |
|
---|
| 36 | #ifndef ATNF_PKSRECORD_H
|
---|
| 37 | #define ATNF_PKSRECORD_H
|
---|
| 38 |
|
---|
| 39 | #include <casa/aips.h>
|
---|
| 40 | #include <casa/Arrays/Matrix.h>
|
---|
| 41 | #include <casa/Arrays/Vector.h>
|
---|
| 42 | #include <casa/BasicSL/Complex.h>
|
---|
| 43 | #include <casa/BasicSL/String.h>
|
---|
| 44 |
|
---|
| 45 | #include <casa/namespace.h>
|
---|
| 46 |
|
---|
| 47 | // <summary>
|
---|
| 48 | // Class to store an MBFITS single-dish data record.
|
---|
| 49 | // </summary>
|
---|
| 50 |
|
---|
| 51 | // Essentially just a struct used as a function argument.
|
---|
| 52 | class PKSrecord
|
---|
| 53 | {
|
---|
| 54 | public:
|
---|
| 55 | Int scanNo;
|
---|
| 56 | Int cycleNo;
|
---|
| 57 | Double mjd;
|
---|
| 58 | Double interval;
|
---|
| 59 | String fieldName;
|
---|
| 60 | String srcName;
|
---|
| 61 | Vector<Double> srcDir;
|
---|
| 62 | Vector<Double> srcPM;
|
---|
| 63 | Double srcVel;
|
---|
| 64 | String obsType;
|
---|
| 65 | Int IFno;
|
---|
| 66 | Double refFreq;
|
---|
| 67 | Double bandwidth;
|
---|
| 68 | Double freqInc;
|
---|
[1757] | 69 | Vector<Double> restFreq;
|
---|
[1452] | 70 | Vector<Float> tcal;
|
---|
| 71 | String tcalTime;
|
---|
| 72 | Float azimuth;
|
---|
| 73 | Float elevation;
|
---|
| 74 | Float parAngle;
|
---|
| 75 | Float focusAxi;
|
---|
| 76 | Float focusTan;
|
---|
| 77 | Float focusRot;
|
---|
| 78 | Float temperature;
|
---|
| 79 | Float pressure;
|
---|
| 80 | Float humidity;
|
---|
| 81 | Float windSpeed;
|
---|
| 82 | Float windAz;
|
---|
| 83 | Int refBeam;
|
---|
| 84 | Int beamNo;
|
---|
| 85 | Vector<Double> direction;
|
---|
| 86 | Int pCode;
|
---|
| 87 | Float rateAge;
|
---|
[1757] | 88 | Vector<Double> scanRate;
|
---|
[1452] | 89 | Float paRate;
|
---|
| 90 | Vector<Float> tsys;
|
---|
| 91 | Vector<Float> sigma;
|
---|
| 92 | Vector<Float> calFctr;
|
---|
| 93 | Matrix<Float> baseLin;
|
---|
| 94 | Matrix<Float> baseSub;
|
---|
| 95 | Matrix<Float> spectra;
|
---|
| 96 | Matrix<uChar> flagged;
|
---|
[1757] | 97 | uInt flagrow;
|
---|
[1452] | 98 | Complex xCalFctr;
|
---|
| 99 | Vector<Complex> xPol;
|
---|
[1757] | 100 | Int polNo ;
|
---|
| 101 | Int srcType ;
|
---|
[1452] | 102 | };
|
---|
| 103 |
|
---|
| 104 | #endif
|
---|