Changes in trunk/src/SDMemTable.h [22:19]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMemTable.h
r22 r19 69 69 virtual bool putSDHeader(const SDHeader& sdh); 70 70 virtual bool putSDFreqTable(const SDFrequencyTable& sdft) {;} 71 72 //get the dat wrapped up in a meta container73 virtual SDContainer getSDContainer(uInt whichRow=0) const;74 virtual SDHeader getSDHeader() const;75 71 76 72 // get spectrum,mask and tsys for the given row, at the selected 77 // cursor - all as stl vectors78 virtual std::vector<float> getSpectrum(Int whichRow) ;73 // cursor 74 virtual std::vector<float> getSpectrum(Int whichRow) const; 79 75 virtual std::vector<bool> getMask(Int whichRow) const; 76 virtual Float getTsys(Int whichRow) const; 80 77 81 virtual Float getTsys(Int whichRow) const; 82 // get all as aips++ Vectors 83 virtual void getSpectrum(Vector<Float>& spectrum, Int whichRow=0); 84 virtual void getMask(Vector<Bool>& mask,Int whichRow=0) const; 85 86 // get info for current row 78 // get info fro current row 87 79 virtual Double getTime(Int whichRow) const ; 88 80 virtual std::string getSourceName(Int whichRow) const; … … 103 95 virtual void summary() const; 104 96 97 // the (irrelevant) name 98 std::string name() const; 99 105 100 // write to disk as aips++ table 106 101 void makePersistent(const std::string& filename); … … 109 104 SDMemTable getScan(Int scanID); 110 105 111 const TableRecord& getHeader() const { return table_.keywordSet();}106 const TableRecord& getHeader() const {;} 112 107 // get a handle to the "raw" aips++ table 113 108 const Table& table() { return table_; } … … 119 114 Int nChan() const; 120 115 121 // return the number of rows (integrations) in the table122 Int nRows() const { return table_.nrow(); }123 124 116 // return a row as a Masked array, internally converting uChar flags 125 117 // to bool mask … … 128 120 129 121 private: 130 // set up tab lestructure122 // set up tabel structure 131 123 void setup(); 132 124 // the current cursor into the array
Note: See TracChangeset
for help on using the changeset viewer.