HHSpectrum: Generate Hilbert spectrum

View source: R/rendering_and_plotting.R

HHSpectrumR Documentation

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)

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 danny.c.bowman@gmail.com

See Also

HHRender, HHSpecPlot

Examples


## Not run: 
data(PortFosterEvent)

emd.result <- Sig2IMF(sig, tt)

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


## End(Not run)


hht documentation built on March 31, 2023, 10:08 p.m.

Related to HHSpectrum in hht...