Alias: null
Common Name: Entropy
Class: org. imirsel. m2k. math. Entropy

Overview: A module that computes the entropy of input arrays, to be used in onset detection functions. An array containg the entropys is output when a null input is received.

Data Handling: The input data is not modified.


Inputs:
function
[D
A frame of the function to calculate the entropy of. (Double array).


Outputs:
Entropy
[D
An array containing the entropy calculated from each input array. (Double Array).



Properties:
Histogram Bins
Sets the number of bins in the histogram used used to calcualte the probability of each value in the input array.

Calculate first order diffs
Contols whether entropy of input arrays is output or the first order differences in entropy (frame to frame).