Description Usage Arguments Details Value Author(s) Examples
View source: R/LeakyIntegration.R
Calculates leaky integration with specified half decay time.
1 | LeakyIntegration(inSignal, inSampleFreq, inHalfDecayTime, inEnlargement)
|
inSignal |
input signal (multi-dimensional), each row representing a channel leaky integration is performed for each channel. |
inSampleFreq |
sample frequency of inSignal (in Hz). |
inHalfDecayTime |
time (in s) at which an impulse would be reduced to half its value. If empty or not specified, 0.1 is used by default. |
inEnlargement |
time (in s) to enlarge the input signal. If -1, |
Sample frequency of outLeakyIntegration
is the same as inSampleFreq
.
An object of matrix
class representing the leaky integration of the input signal.
Marc Vidal (R
version). Based on the original code from Marc Leman and Koen Tanghe.
1 2 3 | s <- c(SchumannKurioseGeschichte)
ANIs <- CalcANI(s, 22050)
LIs <- LeakyIntegration (ANIs$AuditoryNerveImage, ANIs$ANIFreq, 0.1, -1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.