Changeset 12818


Ignore:
Timestamp:
02/03/12 10:11:57 (13 years ago)
Author:
neise
Message:
debugged creation of empty vars .. was in next() now in __init__()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/pyscripts/pyfact/pyfact.py

    r12816 r12818  
    9595
    9696        self.v_bsl = np.zeros( self.NPIX ) # array with baseline values (all ZERO)
    97 
    98 
    99     def next( self ):
    100         """
    101         load the next event from disk and calibrate it
    102         """
    103         self.df.GetNextRow()
    104         self.calibrate_drsAmplitude()
    10597        self.smoothData = None
    10698        self.maxPos = None
    10799        self.maxAmp = None
     100
     101
     102    def next( self ):
     103        """
     104        load the next event from disk and calibrate it
     105        """
     106        self.df.GetNextRow()
     107        self.calibrate_drsAmplitude()
    108108
    109109       
Note: See TracChangeset for help on using the changeset viewer.