Changeset 318
- Timestamp:
- 01/28/05 14:46:59 (20 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMathWrapper.cc
r315 r318 249 249 } 250 250 251 void SDMathWrapper::frequencyAlignmentInSitu (SDMemTableWrapper& in, const std::string& refTime) 252 { 253 SDMemTable* pIn = in.getPtr(); 254 SDMath sdm; 255 SDMemTable* pOut = sdm.frequencyAlignment(*pIn, String(refTime)); 251 void SDMathWrapper::frequencyAlignmentInSitu (SDMemTableWrapper& in, const std::string& refTime, 252 const std::string& method) 253 { 254 SDMemTable* pIn = in.getPtr(); 255 SDMath sdm; 256 SDMemTable* pOut = sdm.frequencyAlignment(*pIn, String(refTime), String(method)); 256 257 *pIn = *pOut; 257 258 delete pOut; … … 260 261 261 262 SDMemTableWrapper SDMathWrapper::frequencyAlignment (const SDMemTableWrapper& in, 262 const std::string& refTime) 263 { 264 const CountedPtr<SDMemTable>& pIn = in.getCP(); 265 SDMath sdm; 266 return CountedPtr<SDMemTable>(sdm.frequencyAlignment(*pIn, String(refTime))); 263 const std::string& refTime, 264 const std::string& method) 265 { 266 const CountedPtr<SDMemTable>& pIn = in.getCP(); 267 SDMath sdm; 268 return CountedPtr<SDMemTable>(sdm.frequencyAlignment(*pIn, String(refTime), String(method))); 267 269 } 268 270 -
trunk/src/SDMathWrapper.h
r315 r318 89 89 90 90 // Apply frequency alignment 91 void frequencyAlignmentInSitu (SDMemTableWrapper& in, const std::string& refTime); 92 SDMemTableWrapper frequencyAlignment(const SDMemTableWrapper& in, const std::string& refTime); 91 void frequencyAlignmentInSitu (SDMemTableWrapper& in, const std::string& refTime, 92 const std::string& method); 93 SDMemTableWrapper frequencyAlignment(const SDMemTableWrapper& in, const std::string& refTime, 94 const std::string& method); 93 95 94 96 // Apply opacity correction
Note:
See TracChangeset
for help on using the changeset viewer.