Add Noise Plugin

The AddNoise plugin (tel_add_noise.dll) primary purpose is to add noise to synthetic data in order to mimic experimentally obtained data.

AddNoise

Before and After Addition of Noise

The following code shows simple usage of the plugin.

import telplugins as tel

try:
    modelPlugin = tel.Plugin("tel_test_model")
    noisePlugin = tel.Plugin("tel_add_noise")

    #Generate internal test data
    modelPlugin.execute()
    test_data = modelPlugin.TestData
    test_data.plot()

    # Assign the dataseries to the plugin inputdata
    noisePlugin.InputData = test_data

    # Set parameter for the 'size' of the noise
    noisePlugin.Sigma = 8.e-6

    # Add the noise
    noisePlugin.execute()

    # Get the data to plot
    noisePlugin.InputData.plot()

    #Write the data to file
    noisePlugin.InputData.writeDataSeries("testData.dat")

except Exception as e:
    print 'Problem: ' + `e`

More information can be found in the embedded Plugin Document, available here: add_noise

Current Version: 1.0.0 (2014-03-08)