- Timestamp:
- 07/31/13 19:18:39 (11 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Scantable.cpp
r2819 r2831 2485 2485 } 2486 2486 2487 bool Scantable::getFlagtraFast(uInt whichrow) 2488 { 2487 bool Scantable::isAllChannelsFlagged(uInt whichrow) 2488 { 2489 uInt rflag; 2490 flagrowCol_.get(whichrow, rflag); 2491 if (rflag > 0) 2492 return true; 2489 2493 uChar flag; 2490 2494 Vector<uChar> flags; -
trunk/src/Scantable.h
r2820 r2831 521 521 void regridSpecChannel( double dnu, int nchan=-1 ) ; 522 522 523 bool getFlagtraFast(casa::uInt whichrow);523 bool isAllChannelsFlagged(casa::uInt whichrow); 524 524 525 525 std::vector<std::string> applyBaselineTable(const std::string& bltable, -
trunk/src/ScantableWrapper.h
r2820 r2831 327 327 { return table_->formatPiecewiseBaselineParams(ranges, params, fixed, rms, -1, masklist, whichrow, verbose, csvformat); } 328 328 329 bool getFlagtraFast(int whichrow=0) const330 { return table_-> getFlagtraFast(casa::uInt(whichrow)); }329 bool isAllChannelsFlagged(int whichrow=0) const 330 { return table_->isAllChannelsFlagged(casa::uInt(whichrow)); } 331 331 332 332 std::vector<float> execFFT(int whichrow, const std::vector<bool>& mask, bool getRealImag=false, bool getAmplitudeOnly=false) -
trunk/src/python_Scantable.cpp
r2820 r2831 162 162 .def("format_blparams_row", &ScantableWrapper::formatBaselineParams) 163 163 .def("format_piecewise_blparams_row", &ScantableWrapper::formatPiecewiseBaselineParams) 164 .def("_ getflagtrafast", &ScantableWrapper::getFlagtraFast,164 .def("_is_all_chan_flagged", &ScantableWrapper::isAllChannelsFlagged, 165 165 (boost::python::arg("whichrow")=0) ) 166 166 .def("_fft", &ScantableWrapper::execFFT)
Note:
See TracChangeset
for help on using the changeset viewer.