Changeset 162 for trunk


Ignore:
Timestamp:
12/27/04 16:22:34 (20 years ago)
Author:
kil064
Message:

add more 'private' functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDMath.h

    r155 r162  
    9090// Weighting type for time averaging
    9191
    92   enum weightType {NONE,VAR,TSYS};
     92  enum WeightType {NONE,VAR,TSYS};
    9393
    9494// Function to use accumulate data during time averaging
     
    101101                   const casa::Block<casa::CountedPtr<SDMemTable> >& in,
    102102                   casa::uInt iTab, casa::uInt iRow, casa::uInt axis, casa::uInt nAxesSub,
    103                    casa::Bool useMask, weightType wtType);
     103                   casa::Bool useMask, WeightType wtType);
    104104
    105105// Function to fill Scan Container when averaging in time
     
    112112                const casa::Vector<casa::uInt>& freqID);
    113113
     114// Put the data and mask into the SDContainer
     115   void putDataInSDC (SDContainer& sc, const casa::Array<casa::Float>& data,
     116                      const casa::Array<casa::Bool>& mask);
     117
    114118// Function to normalize data when averaging in time
    115119
     
    117121                  const casa::Array<casa::Float>& sumSq,
    118122                  const casa::Array<casa::Float>& nPts,
    119                   weightType wtType, casa::Int axis, casa::Int nAxes);
     123                  WeightType wtType, casa::Int axis, casa::Int nAxes);
    120124
    121125// Functions for simple mathematical operations.  what=0 (mul) or 1 (add)
     
    127131   void getCursorLocation (casa::IPosition& start, casa::IPosition& end,
    128132                           const SDMemTable& in);
     133
     134// Convert weight string to enum value
     135
     136   void convertWeightString (WeightType& wt, const std::string& weightStr);
    129137};
    130138
Note: See TracChangeset for help on using the changeset viewer.