Agilent T&M Toolkit 2.0 New Features: Spectrum Data Type

Agilent T&M Toolkit 2.0 for Visual Studio .NET 2003 also supports a Spectrum data type which maps an array of complex values (y axis) to the frequency domain (x axis).  It can be used like so:

using Agilent.TMFramework;
using Agilent.TMFramework.DataAnalysis;
using Agilent.TMFramework.DataVisualization;

FunctionWaveformGenerator fgen = new FunctionWaveformGenerator();
fgen.FunctionType = FunctionType.Square;

Waveform w = fgen.GenerateWaveform();
Spectrum s = Dsp.FFT(w);
Waveform w2 = Dsp.IFFT(s);


Spectrum supports various operator overloads like +, -, * and / as does the Waveform data type.

This entry was posted in Agilent T&M Toolkit. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s