TSpectrumDescriptor Class

Source: SignalAnalysis.cs · Assembly: Dew.Signal

public class TSpectrumDescriptor

Stores the description of the spectrum.

When a frequency spectrum is saved for example to a database it makes sense to also store the data describing how that spectrum was computed. The object is used by spectrum analyzers to store the description of processing applied.

Properties

NameTypeDescription
ActualZeroPaddingDoubleHolds the number of zeroes added to the signal prior to applying the frequency transformation.
ArOrderInt32AR order used if autoregressive spectral methods were applied.
AveragesInt32Number of averages taken if any.
AveragingTypeTAveragingAveraging method used, if averaging was performed.
IntegrationTIntegrationIntegration/differentiation methods applied.
LogarithmicBooleanTrue if the spectrum in logarithmic scale.
SamplingFrequencyDoubleSampling frequency of the time signal.
SamplingTimeDoubleSampling time of the time signal.
ScaleFactorDoubleScale factor by which the spectrum has been scaled.
SidelobeAttDoubleKaiser sidelobe attenuation if used.
SpectrumMethodTSpectrumMethodMethod used to compute the spectrum.
SpectrumTypeTSpectrumTypeType of the spectrum computed.
WindowTSignalWindowTypeAny window methods used to window the time signal.

Methods

NameDescription
LoadFromStreamLoad the data from the Src Stream.
SaveToStreamSave the data to the Dst Stream.