next up previous contents_motif.gif
Next: 8.4.12 basePoly(self,channel=-1,phase=-1,order=1,subtract=1,plot=0): Up: 8.4 DataAna(BoaDataEntity.DataEntity): Previous: 8.4.10 snf(self,phase=-1,channel=1,subtract=1,wa=0.95,wb=1.0):

8.4.11 basePolySubscan(self,channel=-1,phase=-1,order=1,subtract=1,plot=0):

basePolySubscan $<$ DataAna(BoaDataEntity.DataEntity): $<$ BoaDataAnalyser.py

    NAM: basePolySubscan (method)  
    DES: polynomial baseline method, treat each subscan. 
    INP: 
         (i) channel  =  -1: all channels; 0=first channel
         (i) phase    =  -1: all; else: 0,1,2
         (i) order    =  polynomial order, >0 
         (l) subtract =  1 or 0; subtract fit from data?
         (l) plot     =  1 or 0; overwrite Data_Red with fit?
    OUT: (f) data     =  overwrites data array with fit or data-fit
         (f) poly     =  polynomial coefficients are printed but not
                         returned, needs to be implemented





Frank Bertoldi 2005-11-10