TSpectrumDescriptor Class

Header: Dew.Signal/SignalAnalysis.h · Cross-compiler
tObjectTSpectrumDescriptor

class TSpectrumDescriptor : public tObject;

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.
ArOrderintAR order used if autoregressive spectral methods were applied.
AveragesintNumber of averages taken if any.
AveragingTypeTAveragingAveraging method used, if averaging was performed.
IntegrationTIntegrationIntegration/differentiation methods applied.
LogarithmicboolTrue 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
Assign
AssignFromRecord
AssignToRecord
LoadFromStreamLoad the data from the Src Stream.
SaveToStreamSave the data to the Dst Stream.