source: trunk/external/atnf/PKSIO/PKSrecord.h@ 1488

Last change on this file since 1488 was 1452, checked in by Malte Marquarding, 16 years ago

update from livedata CVS

File size: 3.3 KB
Line 
1//#---------------------------------------------------------------------------
2//# PKSrecord.h: Class to store an MBFITS single-dish data record.
3//#---------------------------------------------------------------------------
4//# Copyright (C) 2000-2008
5//# Associated Universities, Inc. Washington DC, USA.
6//#
7//# This library is free software; you can redistribute it and/or modify it
8//# under the terms of the GNU Library General Public License as published by
9//# the Free Software Foundation; either version 2 of the License, or (at your
10//# option) any later version.
11//#
12//# This library is distributed in the hope that it will be useful, but WITHOUT
13//# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14//# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
15//# License for more details.
16//#
17//# You should have received a copy of the GNU Library General Public License
18//# along with this library; if not, write to the Free Software Foundation,
19//# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
20//#
21//# Correspondence concerning AIPS++ should be addressed as follows:
22//# Internet email: aips2-request@nrao.edu.
23//# Postal address: AIPS++ Project Office
24//# National Radio Astronomy Observatory
25//# 520 Edgemont Road
26//# Charlottesville, VA 22903-2475 USA
27//#
28//# $Id: PKSrecord.h,v 1.1 2008-11-17 06:46:00 cal103 Exp $
29//#---------------------------------------------------------------------------
30//# Original: 2008/11/14, Mark Calabretta, ATNF
31//#---------------------------------------------------------------------------
32
33#ifndef ATNF_PKSRECORD_H
34#define ATNF_PKSRECORD_H
35
36#include <casa/aips.h>
37#include <casa/Arrays/Matrix.h>
38#include <casa/Arrays/Vector.h>
39#include <casa/BasicSL/Complex.h>
40#include <casa/BasicSL/String.h>
41
42#include <casa/namespace.h>
43
44// <summary>
45// Class to store an MBFITS single-dish data record.
46// </summary>
47
48// Essentially just a struct used as a function argument.
49class PKSrecord
50{
51 public:
52 Int scanNo;
53 Int cycleNo;
54 Double mjd;
55 Double interval;
56 String fieldName;
57 String srcName;
58 Vector<Double> srcDir;
59 Vector<Double> srcPM;
60 Double srcVel;
61 String obsType;
62 Int IFno;
63 Double refFreq;
64 Double bandwidth;
65 Double freqInc;
66 Double restFreq;
67 Vector<Float> tcal;
68 String tcalTime;
69 Float azimuth;
70 Float elevation;
71 Float parAngle;
72 Float focusAxi;
73 Float focusTan;
74 Float focusRot;
75 Float temperature;
76 Float pressure;
77 Float humidity;
78 Float windSpeed;
79 Float windAz;
80 Int refBeam;
81 Int beamNo;
82 Vector<Double> direction;
83 Int pCode;
84 Float rateAge;
85 Vector<Float> scanRate;
86 Float paRate;
87 Vector<Float> tsys;
88 Vector<Float> sigma;
89 Vector<Float> calFctr;
90 Matrix<Float> baseLin;
91 Matrix<Float> baseSub;
92 Matrix<Float> spectra;
93 Matrix<uChar> flagged;
94 Complex xCalFctr;
95 Vector<Complex> xPol;
96};
97
98#endif
Note: See TracBrowser for help on using the repository browser.