HHSpectrum: Generate Hilbert spectrum

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/rendering_and_plotting.R

Description

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

Usage

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

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

Details

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

Value

hspec

A data structure containing the spectrum of each IMF.

Author(s)

Daniel Bowman [email protected]

See Also

HHRender, HHSpecPlot

Examples

1
2
3
4
5
6
7
data(PortFosterEvent)

emd.result <- Sig2IMF(sig, tt)

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

hht documentation built on May 29, 2017, 9:26 a.m.