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/STFrequencies.h

    r1819 r2900  
    172172  const casa::String& name() const { return name_; }
    173173
     174  /**
     175   * Examine given set of refpix, refval, and increment matches
     176   * any of the rows within a tolerance of freqTolInHz. If match,
     177   * return true and id is filled properly. Otherwise, return false
     178   * and id may have invalid value.
     179   *
     180   * @param[in] refpix
     181   * @param[in] refval
     182   * @param[in] inc
     183   * @param[in] freqTolInHz
     184   * @param[out] id
     185   * @return boolean indicating match with any rows or not
     186   */
     187  bool match( casa::Double refpix, casa::Double refval, casa::Double inc,
     188              casa::Double freqTolInHz, casa::uInt &id);
     189
    174190private:
    175191
Note: See TracChangeset for help on using the changeset viewer.