Changeset 1068 for trunk/src/Scantable.cpp
- Timestamp:
- 07/04/06 11:27:03 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Scantable.cpp
r1047 r1068 256 256 timeCol_.attach(table_, "TIME"); 257 257 srcnCol_.attach(table_, "SRCNAME"); 258 srctCol_.attach(table_, "SRCTYPE"); 258 259 specCol_.attach(table_, "SPECTRA"); 259 260 flagsCol_.attach(table_, "FLAGTRA"); … … 321 322 table_.keywordSet().get("POLTYPE", sdh.poltype); 322 323 return sdh; 324 } 325 326 void asap::Scantable::setSourceType( int stype ) 327 { 328 if ( stype < 0 || stype > 1 ) 329 throw(AipsError("Illegal sourcetype.")); 330 TableVector<Int> tabvec(table_, "SRCTYPE"); 331 tabvec = Int(stype); 323 332 } 324 333 … … 826 835 } 827 836 837 std::string Scantable::getDirectionString(int whichrow) const 838 { 839 return formatDirection(getDirection(uInt(whichrow))); 840 } 841 828 842 std::vector< double > asap::Scantable::getAbcissa( int whichrow ) const 829 843 {
Note: See TracChangeset
for help on using the changeset viewer.