Changeset 1757 for branches/alma/external/atnf/PKSIO/PKSMS2writer.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/PKSMS2writer.h
r1453 r1757 2 2 //# PKSMS2writer.h: Class to write Parkes Multibeam data to a measurementset. 3 3 //#--------------------------------------------------------------------------- 4 //# Copyright (C) 2000-2006 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 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 13 15 //# 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$ 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: PKSMS2writer.h,v 19.14 2009-09-29 07:33:38 cal103 Exp $ 29 32 //#--------------------------------------------------------------------------- 30 33 … … 32 35 #define ATNF_PKSMS2WRITER_H 33 36 37 #include <atnf/PKSIO/PKSrecord.h> 34 38 #include <atnf/PKSIO/PKSwriter.h> 35 39 … … 38 42 #include <casa/Arrays/Vector.h> 39 43 #include <casa/BasicSL/Complex.h> 44 #include <casa/BasicSL/String.h> 40 45 #include <ms/MeasurementSets/MeasurementSet.h> 41 46 #include <ms/MeasurementSets/MSColumns.h> 42 #include <casa/BasicSL/String.h> 47 48 #include <casa/namespace.h> 43 49 44 50 // <summary> … … 46 52 // </summary> 47 53 48 #include <casa/namespace.h>49 54 class PKSMS2writer : public PKSwriter 50 55 { … … 64 69 const Vector<Double> antPosition, 65 70 const String obsMode, 71 const String bunit, 66 72 const Float equinox, 67 73 const String dopplerFrame, … … 69 75 const Vector<uInt> nPol, 70 76 const Vector<Bool> haveXPol, 71 const Bool haveBase, 72 const String fluxUnit); 77 const Bool haveBase); 73 78 74 79 // Write the next data record. 80 /** 75 81 virtual Int write( 76 82 const Int scanNo, … … 114 120 const Matrix<Float> &spectra, 115 121 const Matrix<uChar> &flagged, 122 const uInt flagrow, 116 123 const Complex xCalFctr, 117 124 const Vector<Complex> &xPol); 125 **/ 126 virtual Int write( 127 const PKSrecord &pksrec); 118 128 119 129 // Close the MS, flushing all associated Tables. … … 168 178 169 179 // for handling parameters specific to GBT and other telescopes 170 Bool cGBT; 171 Bool cSMT; 172 Bool cAPEX; 173 Bool cALMA; 180 Bool cGBT, cSMT, cAPEX, cALMA, cATF; 174 181 175 182 // Add an entry to the ANTENNA subtable.
Note: See TracChangeset
for help on using the changeset viewer.