Changeset 177 for trunk/src/SDMath.h


Ignore:
Timestamp:
01/07/05 11:18:33 (19 years ago)
Author:
kil064
Message:

remove function 'hanning'
add function 'smooth' (includes hanning)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDMath.h

    r175 r177  
    6161   casa::CountedPtr<SDMemTable>  average(const casa::Block<casa::CountedPtr<SDMemTable> >& in,
    6262                                         const casa::Vector<casa::Bool>& mask,
    63                                          bool scanAverage, const std::string& weightStr);
     63                                         casa::Bool scanAverage, const std::string& weightStr);
    6464
    6565// Statistics
    6666   std::vector<float> statistic(const casa::CountedPtr<SDMemTable>& in,
    67                                 const std::vector<bool>& mask, const std::string& which);
    68 
    69 // Hanning
    70    SDMemTable* hanning(const SDMemTable& in, casa::Bool doAll);
     67                                const std::vector<bool>& mask, const casa::String& which);
    7168
    7269// Bin up spectra
    7370   SDMemTable* bin(const SDMemTable& in, casa::Int width);
     71
     72// Smooth
     73   SDMemTable* smooth (const SDMemTable& in, const casa::String& kernel,
     74                       casa::Float width, casa::Bool doAll);
    7475
    7576// Simple mathematical operations.  what=0 (mul) or 1 (add)
     
    124125
    125126   void convertWeightString (WeightType& wt, const std::string& weightStr);
    126 
    127127};
    128128
Note: See TracChangeset for help on using the changeset viewer.