Changeset 12916 for fact/tools/pyscripts
- Timestamp:
- 02/22/12 14:35:06 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/pyscripts/pyfact/pyfact_rename.py
r12915 r12916 206 206 207 207 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""" 210 211 pass 211 212 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) 213 215 pulse_amplitude = np.max( self.data_saverage_out[:,min:max], 1) 214 216 self.pulse_time_of_maximum = pulse_time_of_maximum … … 227 229 228 230 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""" 231 234 pass 232 235 … … 282 285 print 'N TriggeroffsetMean: ', self.Ntom 283 286 284 # ----------------------------------------------------------------------------- ---287 # ----------------------------------------------------------------------------- 285 288 class fnames( object ): 286 289 """ organize file names of a FACT data run
Note:
See TracChangeset
for help on using the changeset viewer.