Changeset 1757 for branches/alma/external/atnf/PKSIO/FITSreader.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/FITSreader.h
r1453 r1757 2 2 //# FITSreader.h: ATNF single-dish FITS reader. 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: FITSreader.h,v 19.11 2009-09-29 07:33:38 cal103 Exp $ 30 32 //#--------------------------------------------------------------------------- 31 33 //# The FITSreader class is an abstract base class for the Parkes Multibeam … … 38 40 #define ATNF_FITSREADER_H 39 41 40 #include <atnf/PKSIO/PKSMBrecord.h> 42 #include <atnf/PKSIO/MBrecord.h> 43 44 using namespace std; 45 41 46 42 47 // <summary> … … 44 49 // </summary> 45 50 51 //class FITSreader 46 52 class FITSreader 47 53 { … … 74 80 double antPos[3], 75 81 char obsType[32], 82 char bunit[32], 76 83 float &equinox, 77 84 char radecsys[32], … … 90 97 // Set data selection criteria. Channel numbering is 1-relative, zero or 91 98 // negative channel numbers are taken to be offsets from the last channel. 99 // Coordinate systems are 100 // 0: equatorial (RA,Dec), 101 // 1: horizontal (Az,El), 102 // 2: feed-plane, 103 // 3: zenithal position angle of feed and elevation, (ZPA,El). 92 104 int select( 93 105 const int startChan[], … … 96 108 const int getSpectra = 1, 97 109 const int getXPol = 0, 98 const int getFeedPos = 0); 110 const int getFeedPos = 0, 111 const int getPointing = 0, 112 const int coordSys = 0); 113 99 114 100 115 // Find the range in time and position of the data selected. … … 108 123 // Read the next data record. 109 124 virtual int read( 110 PKSMBrecord &record) = 0; 125 // PKSMBrecord &record) = 0; 126 MBrecord &record) = 0; 111 127 112 128 // Close the RPFITS file. … … 114 130 115 131 protected: 116 int *cBeams, *cEndChan, cGetFeedPos, cGetSpectra, cGetXPol, cHaveBase, 117 cHaveSpectra, *cHaveXPol, *cIFs, cNBeam, *cNChan, cNIF, *cNPol, 118 *cRefChan, *cStartChan; 132 int *cBeams, *cEndChan, cGetFeedPos, cCoordSys, cGetSpectra, cGetXPol, 133 cHaveBase, cHaveSpectra, *cHaveXPol, *cIFs, cNBeam, *cNChan, cNIF, 134 *cNPol, *cRefChan, *cStartChan; 135 136 // For use in constructing messages. 137 char cMsg[256]; 138 119 139 }; 120 140
Note: See TracChangeset
for help on using the changeset viewer.