getSurprisal_matrix: Get surprisal per matrix

View source: R/surprisal.R

getSurprisal_matrixR Documentation

Get surprisal per matrix

Description

Internal soundgen function called by getSurprisal.

Usage

getSurprisal_matrix(x, win, method = c("acf", "np")[1])

Arguments

x

input matrix such as a spectrogram (columns = time, rows = frequency)

win

length of analysis window

method

acf = change in maximum autocorrelation after adding the final point, np = nonlinear prediction (see nonlinPred)


soundgen documentation built on Sept. 12, 2024, 6:29 a.m.