source: branches/alma/external/atnf/PKSIO/PKSrecord.h@ 1772

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

New Development: Yes

JIRA Issue: Yes (CAS-2211)

Ready for Test: Yes

Interface Changes: Yes

What Interface Changed: ASAP 3.0.0 interface changes

Test Programs:

Put in Release Notes: Yes

Module(s): all the CASA sd tools and tasks are affected.

Description: Merged ATNF-ASAP 3.0.0 developments to CASA (alma) branch.

Note you also need to update casa/code/atnf.


File size: 3.5 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 Int nchan;
70 Vector<Double> restFreq;
71 Vector<Float> tcal;
72 String tcalTime;
73 Float azimuth;
74 Float elevation;
75 Float parAngle;
76 Float focusAxi;
77 Float focusTan;
78 Float focusRot;
79 Float temperature;
80 Float pressure;
81 Float humidity;
82 Float windSpeed;
83 Float windAz;
84 Int refBeam;
85 Int beamNo;
86 Vector<Double> direction;
87 Int pCode;
88 Float rateAge;
89 Vector<Double> scanRate;
90 Float paRate;
91 Vector<Float> tsys;
92 Vector<Float> sigma;
93 Vector<Float> calFctr;
94 Matrix<Float> baseLin;
95 Matrix<Float> baseSub;
96 Matrix<Float> spectra;
97 Matrix<uChar> flagged;
98 uInt flagrow;
99 Complex xCalFctr;
100 Vector<Complex> xPol;
101 Int polNo ;
102 Int srcType ;
103};
104
105#endif
Note: See TracBrowser for help on using the repository browser.