bp_pgram: Find the power within specified frequency bands.

Description Usage Arguments Value

Description

Estimates the power within the given frequency bands using Welch's method. The periogram is then smoothed using wavelet thresholding. The sum of power in bins within the frequency band is used as the estimate of that band's power.

Usage

1
bp_pgram(x, fs, freqs, psd = NULL, plot_pgram = FALSE)

Arguments

x

The input signal

fs

The signal sampling rate

freqs

A vector or list of vectors of the bandwidth's whose power should be computed

psd

The output from stats::spec.pgram().

plot_pgram

Plots default periodogram if TRUE

Value

A double or list of doubles representing the signal's frequency in the given bandwidths


nwaff/tsfeats documentation built on May 27, 2019, 7:27 a.m.