Changeset 433
- Timestamp:
- 02/14/05 17:57:06 (20 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMemTable.cc
r430 r433 1608 1608 1609 1609 1610 void SDMemTable::rotateXYPhase (Float value )1610 void SDMemTable::rotateXYPhase (Float value, Bool doAll) 1611 1611 // 1612 1612 // phase in degrees … … 1626 1626 for (uInt i=0; i<nRow;++i) { 1627 1627 specCol_.get(i,data); 1628 end = data.shape()-1; 1628 IPosition shape = data.shape(); 1629 1630 // Set slice 1631 1632 if (!doAll) { 1633 setCursorSlice (start, end, shape); 1634 } else { 1635 end = shape-1; 1636 } 1629 1637 1630 1638 // Get polarization slice references -
trunk/src/SDMemTable.h
r430 r433 239 239 240 240 // Rotate phase of XY correlation by specified value (degrees) 241 void rotateXYPhase (casa::Float angle );241 void rotateXYPhase (casa::Float angle, casa::Bool doAll); 242 242 243 243 // Helper function to check instrument (antenna) name and give enum -
trunk/src/SDMemTableWrapper.h
r431 r433 187 187 } 188 188 189 void rotateXYPhase (float value ) {190 table_->rotateXYPhase(value );189 void rotateXYPhase (float value, bool doAll) { 190 table_->rotateXYPhase(value, doAll); 191 191 } 192 192 -
trunk/src/python_SDMemTable.cc
r431 r433 62 62 .def("setbeam", &SDMemTableWrapper::setBeam) 63 63 .def("setpol", &SDMemTableWrapper::setPol) 64 .def("rotate_xyphase", &SDMemTableWrapper::rotateXYPhase, 65 (boost::python::arg("angle")=0.0) ) 64 .def("_rotate_xyphase", &SDMemTableWrapper::rotateXYPhase) 66 65 .def("_setmask", &SDMemTableWrapper::setMask) 67 66 .def("get_fluxunit", &SDMemTableWrapper::getFluxUnit)
Note:
See TracChangeset
for help on using the changeset viewer.