kernels: Convolution kernels

uniformKernelR Documentation

Convolution kernels

Description

Creates a convolution kernel

Usage

uniformKernel(r = NULL, mu = NULL, cellDim = 1)

exponentialKernel(mu, cellDim = 1, negligible = 10^-10)

Arguments

r

The radius of the kernel, in physical units.

mu

Alternative to r, so that r = 3 * mu / 2 (equation for the average distance from the center of a circle).

cellDim

Default to 1, cell dimensions used as a scaling factor for the kernel size

negligible

Negligible value when rounding edges of exponential kernels.

Value

A kernel (matrix).

Examples

uniformKernel(r = 1, mu = 2)
exponentialKernel(mu = 2)


LandSciTech/LSTDConnect documentation built on March 18, 2023, 9:15 p.m.