You are here: Symbol Reference > Dew Namespace > Dew.Signal Namespace > Classes > TSpectrum Class > TSpectrum Methods
Dew Signal for .NET
ContentsIndexHome
PreviousUpNext
TSpectrum Methods

The methods of the TSpectrum class are listed here.

 
Name 
Description 
 
Add 
Add amplitude and phase of the ASpectrum to the current spectrum. 
 
This is the overview for the AmpltEst method overload. 
 
Compute amplitude spectrum from X. 
 
Flip the frequency spectrum on the frequency axis. 
 
Searches for the closes maximum of the amplitude spectrum. Returns the frequency as the result. 
 
Copy 
Copy ASpectrum to the calling spectrum. 
 
This is Destroy, a member of class TSpectrum. 
 
Differentiate the signal in the frequency domain. 
 
Divide the calling the spectrum with ASpectrum. 
 
Filter the peak at Marks position Index from the signal and recalculate the spectrum. 
 
Integrate the signal in the frequency domain. 
 
Compute the logarithm of the amplitude spectrum and convert to dB. 
 
Convert marks to strings. 
 
Calls MinMaxAmplt and MinMaxPhase
 
Find minimum and maximum value of the Amplt spectrum. 
 
Find minimum and maximum value of the Phase spectrum. 
 
Mul 
Multiply the calling the spectrum with ASpectrum. 
 
NF 
Calculates the average of the noise. 
 
Return the peak closest to the Freq frequency. 
 
This is the overview for the PhaseEst method overload. 
 
Compute phase spectrum from X. 
 
Compute power spectrum from X. 
 
RMS 
Returns the RMS of the spectrum.  
 
Compute RMS spectrum from X. 
 
Scale the calling spectrum with Factor. 
 
Initialize spectrum to zero. 
 
SFDR 
Spurious-free-dynamic-range computes the ratio of the largest marked peak towards the second largest. 
 
Signal-to-noise-and-distortion calculates the the ratio of the maximum mark towards the rest (noise). 
 
Size 
 
SNR 
Calculates the signal-to-noise ratio. 
 
Sqr 
Square the Amplt and Phase of the ASpectrum and copy it to self. 
 
Subtract ASpectrum from the calling spectrum. 
 
THD 
Returns the ratio of RMS of the marked peaks, excluding the first, towards the first marked peak and returns the result in [%]. 
 
THDN 
The total-harmonic-distortion-and-noise computes the sum of sqares of the rest towards the maximum marked peak. 
 
Convert values to strings. 
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!