getCheckerboardKernel: Checkerboard kernel

Description Usage Arguments Details Value Examples

View source: R/SSM.R

Description

Internal soundgen function.

Usage

1
getCheckerboardKernel(size, kernel_mean = 0, kernelSD = 0.5, plot = FALSE)

Arguments

size

kernel size (points), preferably an even number

kernel_mean, kernelSD

mean and SD of the gaussian kernel

plot

if TRUE, shows a perspective plot of the kernel

Details

Prepares a square matrix size x size specifying a gaussian kernel for measuring novelty of self-similarity matrices. Called by getNovelty

Value

Returns a square matrix with size rows and columns.

Examples

1
2
kernel = soundgen:::getCheckerboardKernel(size = 64, kernelSD = 0.2, plot = TRUE)
dim(kernel)

tatters/soundgen_beta documentation built on May 14, 2019, 9 a.m.