Ignore:
Timestamp:
01/31/13 16:39:48 (11 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...

Speed up asdm2ASAP by reusing MDirection::Convert object.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/external-alma/asdm2ASAP/ASDMReader.h

    r2301 r2755  
    1010#include <ASDMAll.h>
    1111#include <SDMBinData.h>
     12
     13class casa::MDirection;
     14class casa::MeasFrame;
     15class casa::MPosition;
     16class casa::MEpoch;
    1217
    1318class ASDMReader
     
    489494                double &az,
    490495                double &el,
    491                 double &mjd,
    492                 casa::Vector<casa::Quantity> &antpos ) ;
    493 
     496                double &mjd ) ;
    494497  /**
    495498  * to J2000
     
    503506  std::vector<double> toJ2000( std::vector<double> &dir,
    504507                               casa::String &dirref,
    505                                double &mjd,
    506                                casa::Vector<casa::Quantity> &antpos ) ;
     508                               double &mjd ) ;
     509
    507510  /**
    508511   * get nIF
     
    537540   **/
    538541  std::vector< std::vector<double> > pointingDir( asdm::PointingRow *row ) ;
     542
     543  /**
     544   * initialize conversion engine
     545   **/
     546  void initConvert() ;
    539547
    540548  asdm::ASDM *asdm_ ; // pointer to ASDM object
     
    606614  // time
    607615  asdm::ArrayTimeInterval timeInterval_ ;
     616
     617  casa::MDirection::Convert toj2000_ ;
     618  casa::MeasFrame mf_ ;
     619  casa::MPosition mp_ ;
     620  casa::MEpoch me_ ;
    608621} ;
    609622#endif // ASAP_ASDM_READER_H
Note: See TracChangeset for help on using the changeset viewer.