- Timestamp:
- 09/13/06 11:21:17 (18 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r1054 r1268 1 PREFIX := /usr1 PREFIX := ./build 2 2 PYDIR := $(PREFIX)/lib/python2.3/site-packages 3 3 -
trunk/python/scantable.py
r1259 r1268 1223 1223 1224 1224 def auto_poly_baseline(self, mask=[], edge=(0, 0), order=0, 1225 threshold=3, plot=False, insitu=None): 1225 threshold=3, chan_avg_limit=1, plot=False, 1226 insitu=None): 1226 1227 """ 1227 1228 Return a scan which has been baselined (all rows) by a polynomial. … … 1242 1243 keep it large as only strong lines affect the 1243 1244 baseline solution. 1245 chan_avg_limit: 1246 a maximum number of consequtive spectral channels to 1247 average during the search of weak and broad lines. 1248 The default is no averaging (and no search for weak 1249 lines). If such lines can affect the fitted baseline 1250 (e.g. a high order polynomial is fitted), increase this 1251 parameter (usually values up to 8 are reasonable). Most 1252 users of this method should find the default value 1253 sufficient. 1244 1254 plot: plot the fit and the residual. In this each 1245 1255 indivual fit has to be approved, by typing 'y' … … 1284 1294 # setup line finder 1285 1295 fl = linefinder() 1286 fl.set_options(threshold=threshold )1296 fl.set_options(threshold=threshold,avg_limit=chan_avg_limit) 1287 1297 1288 1298 if not insitu:
Note:
See TracChangeset
for help on using the changeset viewer.