Changeset 370 for trunk/src/SDLineFinder.h
- Timestamp:
- 02/06/05 19:46:16 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDLineFinder.h
r369 r370 169 169 const boost::python::tuple &in_edge) throw(casa::AipsError); 170 170 171 // search for spectral lines. Number of lines found is returned 172 int findLines() throw(casa::AipsError); 171 // search for spectral lines for a row specified by whichRow and 172 // Beam/IF/Pol specified by current cursor set for the scantable 173 // Number of lines found is returned 174 int findLines(const casa::uInt &whichRow = 0) throw(casa::AipsError); 173 175 174 176 // get the mask to mask out all lines that have been found (default) … … 179 181 std::vector<bool> getMask(bool invert=false) const throw(casa::AipsError); 180 182 181 // get range for all lines found. If defunits is true (default), the 182 // same units as used in the scan will be returned (e.g. velocity 183 // instead of channels). If defunits is false, channels will be returned 184 std::vector<int> getLineRanges(bool defunits=true) 185 const throw(casa::AipsError); 183 // get range for all lines found. The same units as used in the scan 184 // will be returned (e.g. velocity instead of channels). 185 std::vector<double> getLineRanges() const throw(casa::AipsError); 186 // The same as getLineRanges, but channels are always used to specify 187 // the range 188 std::vector<int> getLineRangesInChannels() const throw(casa::AipsError); 186 189 protected: 187 190 // auxiliary function to average adjacent channels and update the mask … … 236 239 // adjacent channels to search 237 240 // for broad lines. see setOptions 241 casa::uInt last_row_used; // the Row number specified 242 // during the last findLines call 238 243 std::list<std::pair<int, int> > lines; // container of start and stop+1 239 244 // channels of the spectral lines
Note: See TracChangeset
for help on using the changeset viewer.