Changeset 1757 for branches/alma/external/atnf/PKSIO/SDFITSwriter.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/SDFITSwriter.h
r1453 r1757 2 2 //# SDFITSwriter.h: ATNF CFITSIO interface class for SDFITS output. 3 3 //#--------------------------------------------------------------------------- 4 //# Copyright (C) 2000-20065 //# Mark Calabretta, ATNF4 //# 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 this software should be addressed as follows:22 //# Internet email: mcalabre@atnf.csiro.au .23 //# Postal address: Dr. Mark Calabretta ,24 //# Australia Telescope National Facility, 25 //# P .O. Box 76,26 //# Epping , NSW, 2121,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 27 28 //# AUSTRALIA 28 29 //# 29 //# $Id$ 30 //# http://www.atnf.csiro.au/computing/software/livedata.html 31 //# $Id: SDFITSwriter.h,v 19.10 2009-09-29 07:33:39 cal103 Exp $ 30 32 //#--------------------------------------------------------------------------- 31 33 //# Original: 2000/07/24, Mark Calabretta, ATNF … … 35 37 #define ATNF_SDFITSWRITER_H 36 38 37 #include <atnf/PKSIO/PKSMBrecord.h> 39 #include <atnf/PKSIO/MBrecord.h> 40 #include <casa/Logging/LogIO.h> 38 41 39 42 #include <fitsio.h> 43 44 using namespace std; 45 using namespace casa; 40 46 41 47 // <summary> … … 50 56 51 57 // Destructor. 52 ~SDFITSwriter();58 virtual ~SDFITSwriter(); 53 59 54 60 // Create a new SDFITSwriter and store static data. … … 60 66 double antPos[3], 61 67 char* obsMode, 68 char* bunit, 62 69 float equinox, 63 70 char* dopplerFrame, … … 70 77 71 78 // Store time-variable data. 72 int write( PKSMBrecord &record);79 int write(MBrecord &record); 73 80 74 // Print out CFITSIO error messages.75 void reportError();81 // Write a history record. 82 int history(char* text); 76 83 77 84 // Close the SDFITS file. … … 86 93 *cNChan, cNIF, *cNPol, cStatus; 87 94 long cRow; 95 96 // Message handling. 97 char cMsg[256]; 98 void log(LogOrigin origin, LogIO::Command cmd, const char *msg = 0x0); 88 99 }; 89 100
Note: See TracChangeset
for help on using the changeset viewer.