Changeset 1452 for trunk/external/atnf/PKSIO/FITSreader.h
- Timestamp:
- 11/19/08 20:41:16 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external/atnf/PKSIO/FITSreader.h
r1399 r1452 27 27 //# AUSTRALIA 28 28 //# 29 //# $Id: FITSreader.h,v 19. 6 2007/11/12 03:37:56cal103 Exp $29 //# $Id: FITSreader.h,v 19.9 2008-11-17 06:28:04 cal103 Exp $ 30 30 //#--------------------------------------------------------------------------- 31 31 //# The FITSreader class is an abstract base class for the Parkes Multibeam … … 38 38 #define ATNF_FITSREADER_H 39 39 40 #include <atnf/PKSIO/PKSMBrecord.h> 40 #include <atnf/PKSIO/MBrecord.h> 41 #include <atnf/PKSIO/PKSmsg.h> 42 43 using namespace std; 41 44 42 45 // <summary> … … 44 47 // </summary> 45 48 46 class FITSreader 49 class FITSreader : public PKSmsg 47 50 { 48 51 public: … … 91 94 // Set data selection criteria. Channel numbering is 1-relative, zero or 92 95 // negative channel numbers are taken to be offsets from the last channel. 96 // Coordinate systems are 97 // 0: equatorial (RA,Dec), 98 // 1: vertical (Az,El), 99 // 2: feed-plane. 93 100 int select( 94 101 const int startChan[], … … 96 103 const int refChan[], 97 104 const int getSpectra = 1, 98 const int getXPol = 0,99 const int getFeedPos = 0);105 const int getXPol = 0, 106 const int coordSys = 0); 100 107 101 108 // Find the range in time and position of the data selected. … … 109 116 // Read the next data record. 110 117 virtual int read( 111 PKSMBrecord &record) = 0;118 MBrecord &record) = 0; 112 119 113 120 // Close the RPFITS file. … … 115 122 116 123 protected: 117 int *cBeams, *cEndChan, cGetFeedPos, cGetSpectra, cGetXPol, cHaveBase, 118 cHaveSpectra, *cHaveXPol, *cIFs, cNBeam, *cNChan, cNIF, *cNPol, 119 *cRefChan, *cStartChan; 124 int *cBeams, *cEndChan, cCoordSys, cGetSpectra, cGetXPol, cHaveBase, 125 cHaveSpectra, *cHaveXPol, *cIFs, cNBeam, *cNChan, cNIF, *cNPol, 126 *cRefChan, *cStartChan; 127 128 // For use in constructing messages. 129 char cMsg[256]; 120 130 }; 121 131
Note: See TracChangeset
for help on using the changeset viewer.