Changeset 13148 for fact/tools/pyscripts
- Timestamp:
- 03/19/12 11:54:27 (13 years ago)
- Location:
- fact/tools/pyscripts/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/pyscripts/tools/fbsl.py
r13013 r13148 1 #!/usr/bin/python 1 #!/usr/bin/python -tt 2 2 # 3 3 # Werner Lustermann … … 6 6 import numpy as np 7 7 8 import pyfact _rename8 import pyfact 9 9 from myhisto import * 10 10 from hist import * -
fact/tools/pyscripts/tools/plot3.py
r13122 r13148 1 #!/usr/bin/python 1 #!/usr/bin/python -tt 2 2 # 3 3 # Werner Lustermann … … 5 5 # 6 6 import numpy as np 7 from pyfact _renameimport RawData7 from pyfact import RawData 8 8 from plotter import Plotter 9 9 from drs_spikes import DRSSpikes … … 30 30 remove_spikes = DRSSpikes(7., user_action=spike_ana, debug=False) 31 31 raw_data_plot = Plotter('raw_data', x, 'g.', 32 32 xlabel='slice in logical pipeline', ylabel='amplitude in mV') 33 33 rem_spikes_plot = Plotter('rem_spikes', x, 'r.', xlabel='slice in logical pipeline', 34 34 ylabel='amplitude in mV') … … 57 57 data, scell, tt = run.next() 58 58 if inp != 'q': 59 60 61 62 59 print data[ch, 0:20] 60 raw_data_plot(data[ch,:]) 61 # fdata = remove_spikes(data) 62 # rem_spikes_plot(fdata[ch,:]) 63 63
Note:
See TracChangeset
for help on using the changeset viewer.