Changeset 829 for trunk/src/MathUtils.h


Ignore:
Timestamp:
02/17/06 15:04:14 (18 years ago)
Author:
mar637
Message:

asap2 integration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/MathUtils.h

    r465 r829  
    4040namespace mathutil {
    4141
    42 // Add new entry to list
    43 template <class T>
    44 casa::uInt addEntry(casa::Vector<T>& list, T val);
    45 
    46 // Find the scan boundaries from a list of ScanIDs
    47 void scanBoundaries(casa::Vector<casa::uInt>& startInt, 
    48                     casa::Vector<casa::uInt>& endInt,
    49                     const casa::Vector<casa::Int>& scanIDs);
    50 
    5142// Hanning smoothing
    5243template <class T>
    53 void hanning(casa::Vector<T>& out, casa::Vector<casa::Bool>& outmask, 
    54              const casa::Vector<T>& in, const casa::Vector<casa::Bool>& mask, 
    55              casa::Bool relaxed=casa::False, 
     44void hanning(casa::Vector<T>& out, casa::Vector<casa::Bool>& outmask,
     45             const casa::Vector<T>& in, const casa::Vector<casa::Bool>& mask,
     46             casa::Bool relaxed=casa::False,
    5647             casa::Bool ignoreOther=casa::False);
    5748
    5849// Generate specified statistic
    59 float statistics(const casa::String& which, 
     50float statistics(const casa::String& which,
    6051                 const casa::MaskedArray<casa::Float>& data);
    6152
    6253// Replace masked value by zero
    63 void replaceMaskByZero(casa::Vector<casa::Float>& data, 
     54void replaceMaskByZero(casa::Vector<casa::Float>& data,
    6455                       const casa::Vector<casa::Bool>& mask);
    6556
    66 // Extend the
    67 template <class T>
    68 void extendLastArrayAxis(casa::Array<T>& out, const casa::Array<T>& in,
    69                          const T& initVal);
    70  
    7157std::vector<std::string> tovectorstring(const casa::Vector<casa::String>& in);
    7258
Note: See TracChangeset for help on using the changeset viewer.