Ignore:
Timestamp:
02/24/09 14:12:51 (15 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: Yes (CAS-1079)

Ready to Release: Yes

Interface Changes: Yes

What Interface Changed: Changed names of functions

  1. (NEW) std::vector<int> asap::python::stmath::_minmaxchan (OLD) std::vector<int> asap::python::stmath::_minmaxpos @python_STMath.cpp
  2. (NEW) std::vector<int> STMathWrapper::minMaxChan (OLD) std::vector<int> STMathWrapper::minMaxPos @STMathWrapper.h
  3. (NEW) std::vector<int> STMath::minMaxChan (OLD) std::vector<int> STMath::minMaxPos @STMath.h & .cpp

Test Programs:

Run scantable.stats() with the parameter stat='min_abc' or 'max_abc',
and you(ll get min/max value with its position.
Notice that parameter names to select in scantable.stats() are also changed.

Put in Release Notes: No

Module(s): scantable.stats()

Description:

The names of functions are changed from rev. 1514.

These modifications are to return min/max value with its
position (channel/frequency/velocity) by running scantable.stats().

Diagram:
scantable.stats() ->asap::python::stmath::_minmaxchan
-> STMathWrapper::minMaxChan -> STMath::minMaxChan() -> mathutil::minMaxPos()
-> casa::minMax (@casacore/casa/casa/Arrays/MaskArrMath.tcc)


File:
1 edited

Legend:

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

    r1514 r1516  
    5757        .def("_dofs", &STMathWrapper::dofs)
    5858        .def("_stats", &STMathWrapper::statistic)
    59         .def("_minmaxpos", &STMathWrapper::minMaxPos)
     59        .def("_minmaxchan", &STMathWrapper::minMaxChan)
    6060        .def("_freqswitch", &STMathWrapper::freqSwitch)
    6161        .def("_bin", &STMathWrapper::bin)
Note: See TracChangeset for help on using the changeset viewer.