Changeset 13148


Ignore:
Timestamp:
03/19/12 11:54:27 (13 years ago)
Author:
neise
Message:
enabled tab checking and excahnged python_rename with python
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
    22#
    33# Werner Lustermann
     
    66import numpy as np
    77
    8 import pyfact_rename
     8import pyfact
    99from myhisto import *
    1010from hist import *
  • fact/tools/pyscripts/tools/plot3.py

    r13122 r13148  
    1 #!/usr/bin/python
     1#!/usr/bin/python -tt
    22#
    33# Werner Lustermann
     
    55#
    66import numpy as np
    7 from pyfact_rename import RawData
     7from pyfact import RawData
    88from plotter import Plotter
    99from drs_spikes import DRSSpikes
     
    3030remove_spikes = DRSSpikes(7., user_action=spike_ana, debug=False)
    3131raw_data_plot = Plotter('raw_data', x, 'g.',
    32                         xlabel='slice in logical pipeline', ylabel='amplitude in mV')
     32            xlabel='slice in logical pipeline', ylabel='amplitude in mV')
    3333rem_spikes_plot = Plotter('rem_spikes', x, 'r.', xlabel='slice in logical pipeline',
    3434                          ylabel='amplitude in mV')
     
    5757        data, scell, tt = run.next()
    5858    if inp != 'q':
    59         print data[ch, 0:20]
    60         raw_data_plot(data[ch,:])
    61         # fdata = remove_spikes(data)
    62         # rem_spikes_plot(fdata[ch,:])
     59        print data[ch, 0:20]
     60        raw_data_plot(data[ch,:])
     61        # fdata = remove_spikes(data)
     62        # rem_spikes_plot(fdata[ch,:])
    6363
Note: See TracChangeset for help on using the changeset viewer.