Changeset 798 for branches/Release12/src
- Timestamp:
- 12/22/05 11:55:22 (19 years ago)
- Location:
- branches/Release12/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Release12/src/SDMath.cc
r797 r798 1425 1425 1426 1426 // Invert 1427 C4 = -C41427 C4 *= -1.0f; 1428 1428 1429 1429 // Put … … 1483 1483 // Swap 1484 1484 1485 Array<Float> tmp = C1; 1485 Array<Float> tmp; 1486 tmp = C1; 1486 1487 C1 = C2; 1487 1488 C2 = C1; -
branches/Release12/src/SDMath.h
r716 r798 137 137 void rotateLinPolPhase(SDMemTable& in, casa::Float value, casa::Bool doAll); 138 138 139 // Complex conjugate of phase 140 void invertPhase(SDMemTable& in, casa::Bool doAll); 141 142 // Swap polarisation order 143 void swapPol(SDMemTable& in, casa::Bool doAll); 139 144 140 145 private: -
branches/Release12/src/SDMathWrapper.cc
r716 r798 278 278 } 279 279 280 void SDMathWrapper::invertPhaseInSitu(SDMemTableWrapper& in, bool doAll) 281 { 282 SDMemTable* pIn = in.getPtr(); 283 284 sdmath.invertPhase(*pIn, Bool(doAll)); 285 } 286 287 void SDMathWrapper::swapPolInSitu(SDMemTableWrapper& in, bool doAll) 288 { 289 SDMemTable* pIn = in.getPtr(); 290 291 sdmath.swapPol(*pIn, Bool(doAll)); 292 } 293 280 294 281 295 void SDMathWrapper::rotateLinPolPhaseInSitu(SDMemTableWrapper& in, float angle, bool doAll) -
branches/Release12/src/SDMathWrapper.h
r716 r798 109 109 void rotateLinPolPhaseInSitu(SDMemTableWrapper& in, float angle, bool doAll); 110 110 111 // Complex conjugate of phase 112 void invertPhaseInSitu(SDMemTableWrapper& in, bool doAll); 113 114 // Swap polarisation order 115 void swapPolInSitu(SDMemTableWrapper& in, bool doAll); 116 111 117 // Apply opacity correction 112 118 void opacityInSitu(SDMemTableWrapper& in, float tau, bool doAll); -
branches/Release12/src/python_SDMath.cc
r724 r798 106 106 def("_rotate_linpolphase", &SDMathWrapper::rotateLinPolPhaseInSitu); 107 107 108 def("_invert_phase", &SDMathWrapper::invertPhaseInSitu); 109 def("_swap_pol", &SDMathWrapper::swapPolInSitu); 110 111 108 112 def("_frequency_switch", &SDMathWrapper::frequencySwitch); 109 113 def("_frequency_switch_insitu", &SDMathWrapper::frequencySwitchInSitu);
Note:
See TracChangeset
for help on using the changeset viewer.