source: trunk/external-alma/atnf/PKSIO/PKSrecord.h@ 2377

Last change on this file since 2377 was 1818, checked in by Kana Sugimoto, 14 years ago

New Development: Yes

JIRA Issue: No (merge)

Ready for Test: Yes

Interface Changes: No

Description:

Merged changes -r1774:1817 in newfiller branch to alma branch


File size: 3.4 KB
Line 
1//#---------------------------------------------------------------------------
2//# PKSrecord.h: Class to store an MBFITS single-dish data record.
3//#---------------------------------------------------------------------------
4//# livedata - processing pipeline for single-dish, multibeam spectral data.
5//# Copyright (C) 2000-2009, Australia Telescope National Facility, CSIRO
6//#
7//# This file is part of livedata.
8//#
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
15//# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16//# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
17//# more details.
18//#
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/>.
21//#
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
29//#
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 $
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.
52class 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;
69 Vector<Double> restFreq;
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;
88 Vector<Double> scanRate;
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;
97 uInt flagrow;
98 Complex xCalFctr;
99 Vector<Complex> xPol;
100 Int polNo ;
101 Int srcType ;
102};
103
104#endif
Note: See TracBrowser for help on using the repository browser.