energyDensity: Generic Method to Calculate the Energy Density of an Object

Description Usage Arguments

Description

This method calculates the energy density of any kind of object, which can be interpreted as time series data.

Usage

1
2
energyDensity(ts, window.width = 10, stepsize = 5, normalize = 1,
  window.function = signal::hanning, ...)

Arguments

ts

The object that contains the time series data

window.width

The windowing width that is used to estimate the density (in ms). The time series data is chopped into windows of this length, and the energy density is calculated for each of these windows seperately. Defaults to 10ms.

stepsize

The stepsize to be used for windowing. Windows are advanced this many ms for each calculation. Can be used to create overlapping windows. Defaults to 5ms.

normalize

Normalization level for energy density values. Maximum energy density will be set to this level to simplify comparison between data files. Set to 0 to deactivate normalization. Defaults to 0.9. Maximum normalization to 1.

window.function

The windowing function to be used. This argument can be used to give different weigth to different samples within the window. Several usable windowing functions are defined in the signal package. Defaults to boxcar, i.e. equal weight for all samples.

...

Further object specific arguments.


LiKao/VoiceExperiment documentation built on May 7, 2019, 1:19 p.m.