Changeset 13233 for fact/tools/pyscripts/pyfact/generator.py
- Timestamp:
- 03/26/12 15:50:47 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/pyscripts/pyfact/generator.py
r13143 r13233 5 5 # 6 6 import numpy as np 7 import matplotlib.pyplot as plt8 7 9 8 class SignalGenerator(object): … … 125 124 126 125 if __name__ == '__main__': 126 import matplotlib.pyplot as plt 127 127 """ test the class """ 128 128 myGenerator = SignalGenerator('len 400 noise 0.3 bsl -2.5 triangle 50 10.2 10 100 65 10 150 20 180 10 250 10 spike 100 50. 20 50 21 49')
Note:
See TracChangeset
for help on using the changeset viewer.