casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
PKSrecord.h
Go to the documentation of this file.
00001 //#---------------------------------------------------------------------------
00002 //# PKSrecord.h: Class to store an MBFITS single-dish data record.
00003 //#---------------------------------------------------------------------------
00004 //# livedata - processing pipeline for single-dish, multibeam spectral data.
00005 //# Copyright (C) 2000-2009, Australia Telescope National Facility, CSIRO
00006 //#
00007 //# This file is part of livedata.
00008 //#
00009 //# livedata is free software: you can redistribute it and/or modify it under
00010 //# the terms of the GNU General Public License as published by the Free
00011 //# Software Foundation, either version 3 of the License, or (at your option)
00012 //# any later version.
00013 //#
00014 //# livedata is distributed in the hope that it will be useful, but WITHOUT
00015 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00016 //# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
00017 //# more details.
00018 //#
00019 //# You should have received a copy of the GNU General Public License along
00020 //# with livedata.  If not, see <http://www.gnu.org/licenses/>.
00021 //#
00022 //# Correspondence concerning livedata may be directed to:
00023 //#        Internet email: mcalabre@atnf.csiro.au
00024 //#        Postal address: Dr. Mark Calabretta
00025 //#                        Australia Telescope National Facility, CSIRO
00026 //#                        PO Box 76
00027 //#                        Epping NSW 1710
00028 //#                        AUSTRALIA
00029 //#
00030 //# http://www.atnf.csiro.au/computing/software/livedata.html
00031 //# $Id: PKSrecord.h,v 1.2 2009-09-29 07:33:39 cal103 Exp $
00032 //#---------------------------------------------------------------------------
00033 //# Original: 2008/11/14, Mark Calabretta, ATNF
00034 //#---------------------------------------------------------------------------
00035 
00036 #ifndef ATNF_PKSRECORD_H
00037 #define ATNF_PKSRECORD_H
00038 
00039 #include <casa/aips.h>
00040 #include <casa/Arrays/Matrix.h>
00041 #include <casa/Arrays/Vector.h>
00042 #include <casa/BasicSL/Complex.h>
00043 #include <casa/BasicSL/String.h>
00044 
00045 #include <casa/namespace.h>
00046 
00047 // <summary>
00048 // Class to store an MBFITS single-dish data record.
00049 // </summary>
00050 
00051 // Essentially just a struct used as a function argument.
00052 class PKSrecord
00053 {
00054   public:
00055     Int             scanNo;
00056     Int             cycleNo;
00057     Double          mjd;
00058     Double          interval;
00059     String          fieldName;
00060     String          srcName;
00061     Vector<Double>  srcDir;
00062     Vector<Double>  srcPM;
00063     Double          srcVel;
00064     String          obsType;
00065     Int             IFno;
00066     Double          refFreq;
00067     Double          bandwidth;
00068     Double          freqInc;
00069     Vector<Double>  restFreq;
00070     Vector<Float>   tcal;
00071     String          tcalTime;
00072     Float           azimuth;
00073     Float           elevation;
00074     Float           parAngle;
00075     Float           focusAxi;
00076     Float           focusTan;
00077     Float           focusRot;
00078     Float           temperature;
00079     Float           pressure;
00080     Float           humidity;
00081     Float           windSpeed;
00082     Float           windAz;
00083     Int             refBeam;
00084     Int             beamNo;
00085     Vector<Double>  direction;
00086     Int             pCode;
00087     Float           rateAge;
00088     Vector<Double>  scanRate;
00089     Float           paRate;
00090     Vector<Float>   tsys;
00091     Vector<Float>   sigma;
00092     Vector<Float>   calFctr;
00093     Matrix<Float>   baseLin;
00094     Matrix<Float>   baseSub;
00095     Matrix<Float>   spectra;
00096     Matrix<uChar>   flagged;
00097     uInt            flagrow;
00098     Complex         xCalFctr;
00099     Vector<Complex> xPol;
00100     Int             polNo ;
00101     Int             srcType ;
00102 };
00103 
00104 #endif