Changeset 13460 for fact/tools/pyscripts/sandbox
- Timestamp:
- 04/26/12 11:47:29 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/pyscripts/sandbox/dneise/spike_studies/basic.py
r13459 r13460 5 5 # 6 6 7 from pyfact import RawData7 from pyfact import RawData 8 8 from drs_spikes import DRSSpikes_2D 9 from plotters import Plotter 10 import matplotlib.pyplot as plt 9 11 import sys 10 12 … … 12 14 calib_filename = 'data/20120223_206.drs.fits.gz' 13 15 16 plt.ion() 17 18 def plot_spikes(despiker, data): 19 #single figure 20 sf = plt.figure('singles') 21 22 14 23 15 24 run = RawData(data_filename, calib_filename, return_dict = True, do_calibration=True) 16 despike = DRSSpikes_2D( )25 despike = DRSSpikes_2D(user_action=plot_spikes) 17 26 18 27 for event in run:
Note:
See TracChangeset
for help on using the changeset viewer.