Changeset 2594
- Timestamp:
- 07/11/12 10:22:40 (12 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asapgrid.py
r2593 r2594 406 406 Return gridded data as a scantable. 407 407 """ 408 return scantable( self.gridder._get(), average=False ) 408 tp = 0 if rcParams['scantable.storage']=='memory' else 1 409 return scantable( self.gridder._get( tp ), average=False ) 409 410 410 411 class _SDGridPlotter: -
trunk/src/STGrid.cpp
r2593 r2594 1724 1724 { 1725 1725 // values for fill 1726 Table t( infileList_[0], Table::Old ) ; 1726 //Table t( infileList_[0], Table::Old ) ; 1727 Table t ; 1728 table( t, 0 ) ; 1727 1729 Table tsel = t( t.col( "IFNO" ) == (uInt)ifno_, 1 ) ; 1728 1730 ROTableRow row( tsel ) ; … … 1832 1834 } 1833 1835 1834 ScantableWrapper STGrid2::getResultAsScantable() 1835 { 1836 CountedPtr<Scantable> s = new Scantable( Table::Plain ) ; 1836 ScantableWrapper STGrid2::getResultAsScantable( int tp ) 1837 { 1838 Table::TableType ttype = (tp==0) ? Table::Memory : Table::Plain ; 1839 ScantableWrapper sw( ttype ) ; 1840 CountedPtr<Scantable> s = sw.getCP() ; 1837 1841 s->setHeader( dataList_[0].getCP()->getHeader() ) ; 1838 1842 Table tout, tin ; … … 1845 1849 } 1846 1850 fillTable( s->table() ) ; 1847 ScantableWrapper sw( s ) ;1848 1851 return sw ; 1849 1852 } -
trunk/src/STGrid.h
r2593 r2594 273 273 void selectData() ; 274 274 virtual void table( Table &tab, uInt i ) ; 275 ScantableWrapper getResultAsScantable( ) ;275 ScantableWrapper getResultAsScantable( int tp ) ; 276 276 277 277 private:
Note:
See TracChangeset
for help on using the changeset viewer.