Changeset 846
- Timestamp:
- 02/23/06 11:26:32 (19 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src
-
Property svn:ignore
set to
*~
*.o
-
Property svn:ignore
set to
-
trunk/src/STFiller.cpp
r835 r846 66 66 int whichIF, int whichBeam ) 67 67 { 68 if (table_.null()) table_ = new Scantable(); 68 if (table_.null()) { 69 cout << "new scnatbale object" << endl; 70 table_ = new Scantable(); 71 } 69 72 if (reader_) { delete reader_; reader_ = 0; } 70 73 Bool haveBase, haveSpectra; … … 184 187 Vector<Int> end(nIF_, 0); 185 188 reader_->select(beamSel, IFsel, start, end, ref, True, haveXPol_); 186 table_-> putSDHeader(*header_);189 table_->setHeader(*header_); 187 190 } 188 191 -
trunk/src/STFiller.h
r805 r846 33 33 This class fills a Scantable from external data formats using the PKSReader class. 34 34 35 @brief A filler object for data import into Scantable 35 36 @author Malte Marquarding 36 37 @date 2006/01/16 … … 40 41 public: 41 42 43 /** 44 * Default constructor 45 */ 42 46 STFiller(); 43 47 48 49 /** 50 * Constructor taking an existing Scantable to fill 51 * @param stbl 52 */ 44 53 STFiller(casa::CountedPtr< Scantable > stbl); 45 54 … … 54 63 int whichBeam=-1 ); 55 64 65 /** 66 * Destructor 67 */ 56 68 ~STFiller(); 57 69 … … 66 78 67 79 /** 68 * deta tch from file80 * detach from file and clean up pointers 69 81 */ 70 82 void close( ); … … 73 85 * Read in "rows" from the source file attached with open() 74 86 * @return a status flag passed on by PKSreader 87 * 88 * @li @c 0: ok 89 * @li >0: failed 75 90 */ 76 91 int read( );
Note:
See TracChangeset
for help on using the changeset viewer.