This example demonstrates the use of the AddNoise plugin
Image output using the example below.
7 import teplugins
as tel
10 modelPlugin = tel.Plugin(
"tel_test_model")
11 noisePlugin = tel.Plugin(
"tel_add_noise")
15 test_data = modelPlugin.TestData
19 noisePlugin.InputData = test_data
22 noisePlugin.Sigma = 8.e-6
28 noisePlugin.InputData.plot()
31 noisePlugin.InputData.writeDataSeries(
"testData.dat")
33 except Exception
as e:
34 print 'Problem: ' + `e`