- Timestamp:
- 03/21/06 14:50:18 (19 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STMath.h
r896 r912 102 102 casa::CountedPtr<Scantable> 103 103 invertPhase( const casa::CountedPtr<Scantable>& in); 104 104 105 casa::CountedPtr<Scantable> 105 106 rotateXYPhase( const casa::CountedPtr<Scantable>& in, float phase); 107 106 108 casa::CountedPtr<Scantable> 107 109 rotateLinPolPhase( const casa::CountedPtr<Scantable>& in, float phase); -
trunk/src/STMathWrapper.h
r872 r912 105 105 return ScantableWrapper(STMath::merge(sts)); } 106 106 107 ScantableWrapper rotateXYPhase( const ScantableWrapper& in, float angle) 108 { return ScantableWrapper(STMath::rotateXYPhase(in.getCP(), angle)); } 109 110 ScantableWrapper rotateLinPolPhase( const ScantableWrapper& in, float angle) 111 { return ScantableWrapper(STMath::rotateLinPolPhase(in.getCP(), angle)); } 112 113 ScantableWrapper invertPhase( const ScantableWrapper& in ) 114 { return ScantableWrapper(STMath::invertPhase(in.getCP())); } 115 116 ScantableWrapper swapPolarisations( const ScantableWrapper& in ) 117 { return ScantableWrapper(STMath::swapPolarisations(in.getCP())); } 118 107 119 }; 108 120 -
trunk/src/python_STMath.cpp
r872 r912 27 27 //# AUSTRALIA 28 28 //# 29 //# $Id :$29 //# $Id$ 30 30 //#--------------------------------------------------------------------------- 31 31 #include <vector> … … 56 56 .def("_opacity", &STMathWrapper::opacity) 57 57 .def("_merge", &STMathWrapper::merge) 58 .def("_rotate_xyphase", &STMathWrapper::rotateXYPhase) 59 .def("_rotate_linpolphase", &STMathWrapper::rotateLinPolPhase) 60 .def("_invert_phase", &STMathWrapper::invertPhase) 61 .def("_swap_linears", &STMathWrapper::swapPolarisations) 58 62 ; 59 63 };
Note:
See TracChangeset
for help on using the changeset viewer.