Changeset 907 for trunk/src/STLineFinder.h
- Timestamp:
- 03/20/06 15:17:06 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STLineFinder.h
r891 r907 158 158 const casa::Float &in_box_size=0.2) throw(); 159 159 160 // set the scan to work with (in_scan parameter), associated mask (in_mask 161 // parameter) and the edge channel rejection (in_edge parameter) 162 // if in_edge has zero length, all channels chosen by mask will be used 160 // set the scan to work with (in_scan parameter) 161 void setScan(const ScantableWrapper &in_scan) throw(casa::AipsError); 162 163 // search for spectral lines in a row specified by whichRow 164 // in_mask and in_edge parameters control channel rejection 165 // if in_edge has zero length, all channels chosen by mask will be used 163 166 // if in_edge has one element only, it represents the number of 164 167 // channels to drop from both sides of the spectrum 165 168 // in_edge is introduced for convinience, although all functionality 166 169 // can be achieved using a spectrum mask only 167 void setScan(const ScantableWrapper &in_scan,168 const std::vector<bool> &in_mask,169 const boost::python::tuple &in_edge) throw(casa::AipsError);170 171 // search for spectral lines for a row specified by whichRow and172 // Beam/IF/Pol specified by current cursor set for the scantable173 170 // Number of lines found is returned 174 int findLines(const casa::uInt &whichRow = 0) throw(casa::AipsError); 171 int findLines(const std::vector<bool> &in_mask, 172 const std::vector<int> &in_edge = std::vector<int>(), 173 const casa::uInt &whichRow = 0) throw(casa::AipsError); 175 174 176 175 // get the mask to mask out all lines that have been found (default)
Note: See TracChangeset
for help on using the changeset viewer.