Ignore:
Timestamp:
03/13/09 16:27:14 (15 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: Yes (CAS-1079)

Ready to Release: Yes

Interface Changes: Yes for scantable.stats()

What Interface Changed:
Return value is now a list of abcissa values
when stat='min_abc' and 'max_abc'.

Test Programs:

run scantable.stats() with the parameter stat='min_abc' or 'max_abc'.

Put in Release Notes: No

Module(s): sdstat

Description:

scantable.stats() are modified so that the tool returns abscissa
chan/freq/velocity of min or max when stat='min_abc' or 'max_abc',
respectively.
Minor changes in IPosition mathutil::minMaxPos() to accept both
min (max) and min_abc (max_abc) as a parameter.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/alma/src/MathUtils.cpp

    r1516 r1530  
    8484   String str(which);
    8585   str.upcase();
    86    if (str.matches(String("MIN_ABC"))) {
     86   if (str.contains(String("MIN"))) {
    8787     return minPos;
    88    } else if (str.matches(String("MAX_ABC"))) {
     88   } else if (str.contains(String("MAX"))) {
    8989     return maxPos;
    9090   } else {
Note: See TracChangeset for help on using the changeset viewer.