Ignore:
Timestamp:
10/04/16 18:20:50 (8 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes/No?

Interface Changes: Yes/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...


Check-in asap modifications from Jim regarding casacore namespace conversion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STMathWrapper.h

    r3008 r3106  
    4242             const std::string& avmode )
    4343  {
    44     std::vector<casa::CountedPtr<Scantable> > sts;
     44    std::vector<casacore::CountedPtr<Scantable> > sts;
    4545    for (unsigned int i=0; i<in.size(); ++i) sts.push_back(in[i].getCP());
    4646    return ScantableWrapper(STMath::average(sts, mask, weight, avmode));
     
    105105
    106106  ScantableWrapper dototalpower( const ScantableWrapper& calon,
    107                              const ScantableWrapper& caloff, casa::Float tcal= 0 )
     107                             const ScantableWrapper& caloff, casacore::Float tcal= 0 )
    108108  { return ScantableWrapper( STMath::dototalpower( calon.getCP(), caloff.getCP(), tcal ) ); }
    109109
    110110  ScantableWrapper dosigref( const ScantableWrapper& sig,
    111111                             const ScantableWrapper& ref,
    112                              int smoothref = 0, casa::Float tsysv=0.0, casa::Float tau=0.0)
     112                             int smoothref = 0, casacore::Float tsysv=0.0, casacore::Float tau=0.0)
    113113  { return ScantableWrapper( STMath::dosigref( sig.getCP(), ref.getCP(), smoothref, tsysv, tau ) ); }
    114114
     
    116116                          const std::vector<int>& scans,
    117117                          int smoothref = 0,
    118                           casa::Float tsysv=0.0, casa::Float tau=0.0, casa::Float tcal=0.0 )
     118                          casacore::Float tsysv=0.0, casacore::Float tau=0.0, casacore::Float tcal=0.0 )
    119119  { return ScantableWrapper( STMath::donod( s.getCP(), scans, smoothref, tsysv, tau, tcal ) ); }
    120120
     
    122122                         const std::vector<int>& scans,
    123123                         int smoothref = 0,
    124                          casa::Float tsysv=0.0, casa::Float tau=0.0, casa::Float tcal=0.0 )
     124                         casacore::Float tsysv=0.0, casacore::Float tau=0.0, casacore::Float tcal=0.0 )
    125125  { return ScantableWrapper( STMath::dofs( s.getCP(), scans, smoothref, tsysv, tau, tcal ) ); }
    126126
     
    180180          const std::string &freqTol)
    181181  {
    182     std::vector<casa::CountedPtr<Scantable> > sts;
     182    std::vector<casacore::CountedPtr<Scantable> > sts;
    183183    for (unsigned int i=0; i<in.size(); ++i) sts.push_back(in[i].getCP());
    184184    return ScantableWrapper(STMath::merge(sts, freqTol)); }
     
    229229                 const std::string& avmode )
    230230  {
    231     std::vector<casa::CountedPtr<Scantable> > sts;
     231    std::vector<casacore::CountedPtr<Scantable> > sts;
    232232    for (unsigned int i=0; i<in.size(); ++i) sts.push_back(in[i].getCP());
    233233    return ScantableWrapper(STMath::new_average(sts, compel, mask, weight, avmode));
     
    239239                          const std::string antname )
    240240  {
    241     casa::CountedPtr<Scantable> tab = in.getCP() ;
    242     casa::String mode( calmode ) ;
    243     casa::String name( antname ) ;
     241    casacore::CountedPtr<Scantable> tab = in.getCP() ;
     242    casacore::String mode( calmode ) ;
     243    casacore::String name( antname ) ;
    244244    return ScantableWrapper( STMath::cwcal( tab, mode, name ) ) ;
    245245  }
     
    248248                          const std::string calmode )
    249249  {
    250     casa::CountedPtr<Scantable> tab = in.getCP() ;
    251     casa::String mode( calmode ) ;
     250    casacore::CountedPtr<Scantable> tab = in.getCP() ;
     251    casacore::String mode( calmode ) ;
    252252    return ScantableWrapper( STMath::almacal( tab, mode ) ) ;
    253253  }
Note: See TracChangeset for help on using the changeset viewer.