Changeset 1452 for trunk/external/atnf/PKSIO/PKSFITSreader.h
- Timestamp:
- 11/19/08 20:41:16 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external/atnf/PKSIO/PKSFITSreader.h
r1427 r1452 26 26 //# Charlottesville, VA 22903-2475 USA 27 27 //# 28 //# $Id: PKSFITSreader.h,v 19.1 3 2008-06-26 02:02:43cal103 Exp $28 //# $Id: PKSFITSreader.h,v 19.17 2008-11-17 06:38:05 cal103 Exp $ 29 29 //#--------------------------------------------------------------------------- 30 30 //# This class is basically a wrapper class for reading data from either an … … 39 39 40 40 #include <atnf/PKSIO/FITSreader.h> 41 #include <atnf/PKSIO/PKSrecord.h> 41 42 #include <atnf/PKSIO/PKSreader.h> 42 43 43 44 #include <casa/aips.h> 45 #include <casa/stdio.h> 44 46 #include <casa/Arrays/Vector.h> 45 47 #include <casa/Arrays/Matrix.h> … … 47 49 #include <casa/BasicSL/String.h> 48 50 51 #include <casa/namespace.h> 52 49 53 // <summary> 50 54 // Class to read Parkes Multibeam data from a FITS file. 51 55 // </summary> 52 56 53 #include <casa/namespace.h>54 57 class PKSFITSreader : public PKSreader 55 58 { … … 63 66 // Destructor. 64 67 virtual ~PKSFITSreader(); 68 69 // Set message disposition. 70 virtual Int setMsg( 71 FILE *fd = 0x0); 65 72 66 73 // Open the FITS file for reading. … … 104 111 const Bool getSpectra = True, 105 112 const Bool getXPol = False, 106 const Bool getFeedPos = False);113 const Int coordSys = 0); 107 114 108 115 // Find the range of the data selected in time and position. … … 114 121 115 122 // Read the next data record. 116 virtual Int read(MBrecord &mbrec); 117 118 // Read the next data record, just the basics. 119 virtual Int read( 120 Int &IFno, 121 Vector<Float> &tsys, 122 Vector<Float> &calFctr, 123 Matrix<Float> &baseLin, 124 Matrix<Float> &baseSub, 125 Matrix<Float> &spectra, 126 Matrix<uChar> &flagged); 123 virtual Int read(PKSrecord &pksrec); 127 124 128 125 // Close the FITS file. … … 132 129 Int *cBeams, *cIFs; 133 130 uInt cNBeam, cNIF; 134 PKSMBrecord cFITSMBrec;131 MBrecord cMBrec; 135 132 FITSreader *cReader; 136 133
Note: See TracChangeset
for help on using the changeset viewer.