Changeset 13460


Ignore:
Timestamp:
04/26/12 11:47:29 (13 years ago)
Author:
neise
Message:
evolving
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/pyscripts/sandbox/dneise/spike_studies/basic.py

    r13459 r13460  
    55#
    66
    7 from pyfact   import RawData
     7from pyfact     import RawData
    88from drs_spikes import DRSSpikes_2D
     9from plotters   import Plotter
     10import matplotlib.pyplot as plt
    911import sys
    1012
     
    1214calib_filename = 'data/20120223_206.drs.fits.gz'
    1315
     16plt.ion()
     17
     18def plot_spikes(despiker, data):
     19    #single figure
     20    sf = plt.figure('singles')
     21   
     22   
    1423
    1524run = RawData(data_filename, calib_filename, return_dict = True, do_calibration=True)
    16 despike = DRSSpikes_2D()
     25despike = DRSSpikes_2D(user_action=plot_spikes)
    1726
    1827for event in run:
Note: See TracChangeset for help on using the changeset viewer.