- Timestamp:
- 03/01/12 12:33:18 (13 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/pyscripts/pyfact/generator.py
r12977 r12982 72 72 signal[start:pos] += np.linspace(0., height, self.triangle_rise) 73 73 signal[pos:stop] += np.linspace(height, 0. , self.triangle_fall) 74 for spike in self.spikes: 75 signal[spike[0]] += spike[1] 74 if 'spike' in self.options: 75 for spike in self.spikes: 76 signal[spike[0]] += spike[1] 76 77 return signal 77 78
Note:
See TracChangeset
for help on using the changeset viewer.