Ignore:
Timestamp:
02/22/12 14:35:06 (13 years ago)
Author:
neise
Message:
reduced line length, of most lines to 79 characters
File:
1 edited

Legend:

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

    r12915 r12916  
    206206
    207207        if self.data_saverage_out == None:
    208             print 'error pyfact.find_peakMax was called without prior call to filter_sliding_average'
    209             print ' variable self.data_saverage_out is needed '
     208            print """error pyfact.find_peakMax was called without \
     209            prior call to filter_sliding_average
     210            variable self.data_saverage_out is needed"""
    210211            pass
    211212
    212         pulse_time_of_maximum = np.argmax( self.data_saverage_out[:,min:max], 1)
     213        pulse_time_of_maximum = np.argmax( self.data_saverage_out[:,min:max],
     214                                          1)
    213215        pulse_amplitude = np.max( self.data_saverage_out[:,min:max], 1)
    214216        self.pulse_time_of_maximum = pulse_time_of_maximum
     
    227229       
    228230        if self.pulse_time_of_maximum == None:
    229             print 'error pyfact.sum_around_peak was called without prior call of find_peak'
    230             print ' variable self.pulse_time_of_maximum is needed'
     231            print """error pyfact.sum_around_peak was called \
     232            without prior call of find_peak
     233            variable self.pulse_time_of_maximum is needed"""
    231234            pass
    232235
     
    282285        print 'N TriggeroffsetMean: ', self.Ntom
    283286       
    284 # --------------------------------------------------------------------------------
     287# -----------------------------------------------------------------------------
    285288class fnames( object ):
    286289    """ organize file names of a FACT data run
Note: See TracChangeset for help on using the changeset viewer.