Changeset 18 for trunk/src/SDContainer.h
- Timestamp:
- 06/30/04 16:34:24 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDContainer.h
r16 r18 32 32 #define _SDCONTAINER_H_ 33 33 34 #include <vector> 35 34 36 #include <aips/aips.h> 35 37 #include <aips/Utilities/String.h> … … 41 43 namespace atnf_sd { 42 44 45 46 struct SDHeader { 47 Int nchan; 48 Int npol; 49 Int nif; 50 Int nbeam; 51 String observer; 52 String project; 53 String obstype; 54 String antennaname; 55 Vector<Double> antennaposition; 56 Float equinox; 57 String freqref; 58 Double reffreq; 59 Double bandwidth; 60 Double utc; 61 void print() const ; 62 }; 63 43 64 class SDFrequencyTable { 44 65 45 66 public: 46 67 47 SDFrequencyTable( Double refPix, Double refVal, Double inc) {;}68 SDFrequencyTable() {;} 48 69 // returns the index into the table 49 70 // this creates a new one or returns an existing one … … 52 73 Int length() const { return nFreq_;};// # of stored Frequencies 53 74 // returns a Table with nRows == nFreq, and three cols 54 75 55 76 private: 56 77 Int nFreq_; 57 Vector<Double> refPix_;58 Vector<Double> revVal_;59 Vector<Double> increment_;78 std::vector<double> refPix_; 79 std::vector<double> revVal_; 80 std::vector<double> increment_; 60 81 }; 61 82
Note: See TracChangeset
for help on using the changeset viewer.