powered by
Internal soundgen function.
getCheckerboardKernel(size, kernel_mean = 0, kernelSD = 0.5, plot = FALSE)
kernel size (points), preferably an even number
mean and SD of the gaussian kernel
if TRUE, shows a perspective plot of the kernel
Returns a square matrix with size rows and columns.
size
Prepares a square matrix size x size specifying a gaussian kernel for measuring novelty of self-similarity matrices. Called by getNovelty
size x size
getNovelty
# NOT RUN { kernel = soundgen:::getCheckerboardKernel(size = 64, kernelSD = 0.2, plot = TRUE) dim(kernel) # }
Run the code above in your browser using DataLab