Changeset 2002 for trunk/src/MSFiller.h


Ignore:
Timestamp:
02/18/11 19:26:01 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-2718

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: Describe your changes here...

  • Changed column-based data access to row-based data-access when writing the data.
  • Tuning on getSysCalTime() and other related parts


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/MSFiller.h

    r1993 r2002  
    2929
    3030#include <casa/Containers/Record.h>
     31#include <casa/Containers/Block.h>
    3132
    3233//#include <tables/Tables/TableColumn.h>
     
    6667  //void fillHistory() ;
    6768  //void fillFit() ;
    68   void fillTcal( boost::object_pool<casa::ROTableColumn> *poolr,
    69                  boost::object_pool<casa::TableColumn> *poolw ) ;
     69  void fillTcal( boost::object_pool<casa::ROTableColumn> *poolr ) ;
    7070
    7171  // get SRCTYPE from STATE_ID
    7272  casa::Int getSrcType( casa::Int stateId, boost::object_pool<casa::ROTableColumn> *pool ) ;
    73   //casa::Int getSrcType( casa::Int stateId ) ;
    7473
    7574  // get POLNO from CORR_TYPE
    76   casa::Vector<casa::uInt> getPolNo( casa::Int corrType ) ;
     75  casa::Block<casa::uInt> getPolNo( casa::Int corrType ) ;
    7776
    7877  // get poltype from CORR_TYPE
     
    8584  // assume that tab is selected by ANTENNA_ID, FEED_ID, SPECTRAL_WINDOW_ID
    8685  // and sorted by TIME
    87   //casa::Vector<casa::Double> getSysCalTime( casa::MSSysCal &tab, casa::MEpoch::ROScalarColumn &tcol ) ;
    88   void getSysCalTime( casa::MSSysCal &tab, casa::MEpoch::ROScalarColumn &tcal, casa::Vector<casa::Double> &scTime ) ;
     86  void getSysCalTime( casa::Block<casa::MEpoch> &scTimeIn, casa::Vector<casa::Double> &scInterval, casa::Block<casa::MEpoch> &tcol, casa::Block<casa::Double> &scTimeOut, casa::Block<casa::Int> &tidx ) ;
    8987
    9088  // get tsys by time stamp
    9189  // assume that tab is selected by ANTENNA_ID, FEED_ID, SPECTRAL_WINDOW_ID
    9290  // and sorted by TIME
    93   casa::uInt getTsys( casa::uInt idx, casa::Matrix<casa::Float> &tsys, casa::MSSysCal &tab, casa::Double t ) ;
     91//   casa::uInt getTsys( casa::uInt idx, casa::Matrix<casa::Float> &tsys, casa::ROArrayColumn<casa::Float> &tsysCol, casa::Block<casa::MEpoch> &scTime, casa::Double t ) ;
    9492
    9593  // get TCAL_ID
    96   casa::Vector<casa::uInt> getTcalId( casa::Int feedId, casa::Int spwId, casa::Double t ) ;
     94  casa::Block<casa::uInt> getTcalId( casa::Int feedId, casa::Int spwId, casa::Double t ) ;
    9795
    9896  // get direction for DIRECTION, AZIMUTH, and ELEVATION columns
Note: See TracChangeset for help on using the changeset viewer.