- Timestamp:
- 02/09/05 13:07:20 (20 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMathWrapper.cc
r355 r398 250 250 251 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)); 252 const std::string& method, bool perFreqID) 253 { 254 SDMemTable* pIn = in.getPtr(); 255 SDMath sdm; 256 SDMemTable* pOut = sdm.frequencyAlignment(*pIn, String(refTime), String(method), 257 Bool(perFreqID)); 257 258 *pIn = *pOut; 258 259 delete pOut; … … 262 263 SDMemTableWrapper SDMathWrapper::frequencyAlignment (const SDMemTableWrapper& in, 263 264 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))); 265 const std::string& method, 266 bool perFreqID) 267 { 268 const CountedPtr<SDMemTable>& pIn = in.getCP(); 269 SDMath sdm; 270 return CountedPtr<SDMemTable>(sdm.frequencyAlignment(*pIn, String(refTime), 271 String(method), Bool(perFreqID))); 269 272 } 270 273 -
trunk/src/SDMathWrapper.h
r355 r398 90 90 // Apply frequency alignment 91 91 void frequencyAlignmentInSitu (SDMemTableWrapper& in, const std::string& refTime, 92 const std::string& method );92 const std::string& method, bool perFreqID); 93 93 SDMemTableWrapper frequencyAlignment(const SDMemTableWrapper& in, const std::string& refTime, 94 const std::string& method );94 const std::string& method, bool perFreqID); 95 95 96 96 // Apply opacity correction
Note:
See TracChangeset
for help on using the changeset viewer.