Ignore:
Timestamp:
03/12/14 12:23:31 (10 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-5875

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: test_sdcoadd

Put in Release Notes: No

Module(s): sd

Description: Describe your changes here...

Added freq_tol parameter to asapmath.merge.
The freq_tol allows to specify frequency tolerance as
numeric value (1.0e6) or string ('1MHz'). The value will
be used to merge FREQUENCIES rows, FREQ_ID, and IFNO.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STMathWrapper.h

    r2428 r2900  
    175175
    176176  ScantableWrapper
    177     merge(const std::vector<ScantableWrapper >& in)
    178 
     177    merge(const std::vector<ScantableWrapper >& in,
     178          const std::string &freqTol)
    179179  {
    180180    std::vector<casa::CountedPtr<Scantable> > sts;
    181181    for (unsigned int i=0; i<in.size(); ++i) sts.push_back(in[i].getCP());
    182     return ScantableWrapper(STMath::merge(sts)); }
     182    return ScantableWrapper(STMath::merge(sts, freqTol)); }
    183183
    184184  ScantableWrapper rotateXYPhase( const ScantableWrapper& in, float angle)
Note: See TracChangeset for help on using the changeset viewer.