Changeset 13021 for fact/tools/pyscripts/pyfact
- Timestamp:
- 03/09/12 09:04:38 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/pyscripts/pyfact/drs_spikes.py
r13014 r13021 20 20 single_pattern=np.array( [-0.5, 1.0, -0.5]) , 21 21 double_pattern=np.array([-1., 1., 1., -1.]), 22 user_action=lambda candidates, singles, doubles, data, ind: None, 22 23 debug = False): 23 24 """ initialize spike filter … … 32 33 33 34 self.remove_signal = fir.RemoveSignal() 35 36 self.user_action = user_action 34 37 self.debug = debug 35 38 … … 67 70 print 'singles: ', singles 68 71 print 'doubles: ', doubles 72 73 self.user_action(cc, singles, doubles, data, a) 69 74 70 75 data = self.remove_single_spikes(singles, data)
Note:
See TracChangeset
for help on using the changeset viewer.