Changeset 2238 for trunk/src/MSFiller.h


Ignore:
Timestamp:
07/21/11 12:17:06 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

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...

Improved performance.
Speed up getDirection.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/MSFiller.h

    r2237 r2238  
    9090
    9191  // get direction for DIRECTION, AZIMUTH, and ELEVATION columns
    92   casa::uInt getDirection( casa::uInt idx, casa::Vector<casa::Double> &dir, casa::Vector<casa::Double> &srate, casa::String &ref, casa::MSPointing &tab, casa::Double t ) ;
    93   casa::uInt getDirection( casa::uInt idx, casa::Vector<casa::Double> &dir, casa::Vector<casa::Double> &azel, casa::Vector<casa::Double> &srate, casa::MSPointing &tab, casa::MEpoch &t, casa::MPosition &antpos ) ;
    94   void getSourceDirection( casa::Vector<casa::Double> &dir, casa::Vector<casa::Double> &azel, casa::Vector<casa::Double> &srate, casa::MEpoch &t, casa::MPosition &antpos, casa::Vector<casa::MDirection> &srcdir ) ;
     92  casa::uInt getDirection( casa::uInt idx,
     93                           casa::Vector<casa::Double> &dir,
     94                           casa::Vector<casa::Double> &srate,
     95                           casa::String &ref,
     96                           casa::ROScalarColumn<casa::Double> &ptcol,
     97                           casa::ROArrayColumn<casa::Double> &pdcol,
     98                           casa::Double t ) ;
     99  casa::uInt getDirection( casa::uInt idx,
     100                           casa::Vector<casa::Double> &dir,
     101                           casa::Vector<casa::Double> &azel,
     102                           casa::Vector<casa::Double> &srate,
     103                           casa::ROScalarColumn<casa::Double> &ptcol,
     104                           casa::ROArrayColumn<casa::Double> &pdcol,
     105                           casa::MEpoch &t, casa::MPosition &antpos ) ;
     106  void getSourceDirection( casa::Vector<casa::Double> &dir,
     107                           casa::Vector<casa::Double> &azel,
     108                           casa::Vector<casa::Double> &srate,
     109                           casa::MEpoch &t,
     110                           casa::MPosition &antpos,
     111                           casa::Vector<casa::MDirection> &srcdir ) ;
    95112
    96113  // create key for TCAL table
     
    99116  // binary search
    100117  casa::uInt binarySearch( casa::Vector<casa::MEpoch> &timeList, casa::Double target ) ;
     118  casa::uInt binarySearch( casa::Vector<casa::Double> &timeList, casa::Double target ) ;
    101119
    102120  // tool for HPC
Note: See TracChangeset for help on using the changeset viewer.