Learn R Programming

hht (version 2.1.6)

HHSpectrum: Generate Hilbert spectrum

Description

Generates a Hilbert periodogram from the results of Sig2IMF and EEMD.

Usage

HHSpectrum(hres, dfreq, freq.span = NULL, time.span = NULL, 
    scaling = "none", verbose = TRUE)

Value

hspec

A data structure containing the spectrum of each IMF.

Arguments

hres

This is the output generated by EEMDCompile or EEMDResift

dfreq

Frequency resolution of spectrum

time.span

Time span to render spectrum over; NULL means over the whole time series

freq.span

Frequency span to include in spectrum; NULL means render all the frequencies in the time series

scaling

If "log", render a log10 frequency spectrum. Defaults to "none" (linear).

verbose

If TRUE, print progress messages

Author

Daniel Bowman danny.c.bowman@gmail.com

Details

HHSpectrum sums Hilbert spectral data over the time domain to produce the equivalent of a periodogram. The result can be plotted using HHSpecPlot.

See Also

HHRender, HHSpecPlot

Examples

Run this code

if (FALSE) {
data(PortFosterEvent)

emd.result <- Sig2IMF(sig, tt)

dfreq <- 0.1
hspec <- HHSpectrum(emd.result, dfreq)
HHSpecPlot(hspec, show.fourier = TRUE, scale.fourier = TRUE)

}

Run the code above in your browser using DataLab