Changeset 1757 for branches/alma/external/atnf/PKSIO/PKSwriter.h
- Timestamp:
- 06/09/10 19:03:06 (14 years ago)
- Location:
- branches/alma
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma
-
Property
svn:ignore
set to
.sconf_temp
.sconsign.dblite
-
Property
svn:mergeinfo
set to
/branches/asap-3.x merged eligible
-
Property
svn:ignore
set to
-
branches/alma/external/atnf/PKSIO/PKSwriter.h
r1453 r1757 2 2 //# PKSwriter.h: Class to write out Parkes multibeam data. 3 3 //#--------------------------------------------------------------------------- 4 //# Copyright (C) 2000-20065 //# Associated Universities, Inc. Washington DC, USA.4 //# livedata - processing pipeline for single-dish, multibeam spectral data. 5 //# Copyright (C) 2000-2009, Australia Telescope National Facility, CSIRO 6 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. 7 //# This file is part of livedata. 11 8 //# 12 //# This library is distributed in the hope that it will be useful, but WITHOUT 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 13 15 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public15 //# License formore details.16 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 17 //# more details. 16 18 //# 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. 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/>. 20 21 //# 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 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 27 29 //# 28 //# $Id$ 30 //# http://www.atnf.csiro.au/computing/software/livedata.html 31 //# $Id: PKSwriter.h,v 19.17 2009-09-29 07:33:39 cal103 Exp $ 29 32 //#--------------------------------------------------------------------------- 30 33 31 34 #ifndef ATNF_PKSWRITER_H 32 35 #define ATNF_PKSWRITER_H 36 37 #include <atnf/PKSIO/PKSrecord.h> 33 38 34 39 #include <casa/aips.h> … … 38 43 #include <casa/BasicSL/String.h> 39 44 45 #include <casa/namespace.h> 46 40 47 // <summary> 41 48 // Class to write out Parkes multibeam data. 42 49 // </summary> 43 50 44 #include <casa/namespace.h>45 51 class PKSwriter 46 52 { … … 57 63 const Vector<Double> antPosition, 58 64 const String obsMode, 65 const String bunit, 59 66 const Float equinox, 60 67 const String dopplerFrame, … … 62 69 const Vector<uInt> nPol, 63 70 const Vector<Bool> haveXPol, 64 const Bool havebase, 65 const String fluxUnit) = 0; 71 const Bool havebase) = 0; 66 72 67 73 // Write the next data record. 68 74 virtual Int write ( 69 const Int scanNo, 70 const Int cycleNo, 71 const Double mjd, 72 const Double interval, 73 const String fieldName, 74 const String srcName, 75 const Vector<Double> srcDir, 76 const Vector<Double> srcPM, 77 const Double srcVel, 78 const String obsMode, 79 const Int IFno, 80 const Double refFreq, 81 const Double bandwidth, 82 const Double freqInc, 83 //const Double restFreq, 84 const Vector<Double> restFreq, 85 const Vector<Float> tcal, 86 const String tcalTime, 87 const Float azimuth, 88 const Float elevation, 89 const Float parAngle, 90 const Float focusAxi, 91 const Float focusTan, 92 const Float focusRot, 93 const Float temperature, 94 const Float pressure, 95 const Float humidity, 96 const Float windSpeed, 97 const Float windAz, 98 const Int refBeam, 99 const Int beamNo, 100 const Vector<Double> direction, 101 const Vector<Double> scanRate, 102 const Vector<Float> tsys, 103 const Vector<Float> sigma, 104 const Vector<Float> calFctr, 105 const Matrix<Float> baseLin, 106 const Matrix<Float> baseSub, 107 const Matrix<Float> &spectra, 108 const Matrix<uChar> &flagged, 109 const Complex xCalFctr, 110 const Vector<Complex> &xPol) = 0; 75 const PKSrecord &pksrec) = 0; 76 77 // Write a history record. 78 virtual Int history(const String text) {return 0;}; 79 virtual Int history(const char *text) {return 0;}; 111 80 112 81 // Close the output file.
Note: See TracChangeset
for help on using the changeset viewer.