Changeset 371


Ignore:
Timestamp:
02/07/05 08:32:41 (20 years ago)
Author:
vor010
Message:

LineFinder/baseline fitter full functionality
auto_poly_baseline can automatically identify lines and fit baselines afterwards

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asaplinefind.py

    r370 r371  
    177177            workscan.setif(j)
    178178            for k in range(workscan.npol()):
    179                 scan.setpol(k)
     179                workscan.setpol(k)
    180180                if f._vb:
    181181                   print "Processing:"
     
    189189                   f.data=None
    190190                   f.fit()
    191                    workscan._setspectrum(f.getresidual(),iRow)
     191                   x=f.get_parameters()
     192                   workscan._setspectrum(f.fitter.getresidual(),iRow)
    192193    workscan.set_cursor(sel[0],sel[1],sel[2])
    193194    workscan._vb = vb
    194195    if not insitu:
    195        return scan
     196       return workscan
Note: See TracChangeset for help on using the changeset viewer.