aspcol.kernelinterpolation

Functions

analytic_kernel_weighting_disc_2d(...)

Analytic solution of the kernel interpolation weighting filter integral in the frequency domain for a disc in 2D.

freq_to_time_domain_kernel_matrix(freq_kernel)

Turns a frequency domain kernel matrix into a time domain kernel matrix.

get_interpolation_params(kernel_func, ...)

Calculates parameter vector or matrix given a kernel function for Kernel Ridge Regression.

get_kernel_weighting_filter(kernel_func, ...)

Calculates kernel weighting filter A(w) in frequency domain see 'Spatial active noise control based on kernel interpolation of sound field' by Koyama et al.

get_krr_params(data, pos, wave_num, reg_param)

Calculates the kernel ridge regression parameter vector a for a standard l2 KRR problem

kernel_directional_3d(points1, points2, ...)

Directionally weighted kernel for 3D sound field interpolation.

kernel_directional_3d_combined(points1, ...)

Computes the summed directional kernel for a number of directions and weights.

kernel_directional_3d_slow(points1, points2, ...)

Identical to kernel_directional_3d, but is not JIT compiled by numba.

kernel_gaussian(points1, points2, scale)

Guassian kernel, also known as the radial basis function kernel.

kernel_helmholtz_2d(points1, points2, wave_num)

kernel_helmholtz_3d(points1, points2, wave_num)

Diffuse kernel for 3D sound field interpolation.

kernel_helmholtz_3d_slow(points1, points2, ...)

Identical to kernel_helmholtz_3d, but is not JIT compiled by numba.

kernel_reciprocal_3d(points1, points2, wave_num)

Reciprocal kernel for room impulse response interpolation.

learn_kernel_params_directional_l2(pos, ...)

Computes the directional kernel parameters for the directional kernel according to the L2 method in [1].

multifreq_diffuse_kernel(pos1, pos2, wave_num)

Multiple frequency diffuse sound field kernel.

multifreq_directional_kernel_vonmises(pos1, ...)

Multiple frequency directional sound field kernel.

multifreq_envelope_kernel(pos1, pos2, ...[, ...])

The kernel Gamma_r(r, r') of the time domain diffuse sound field with envelope regularization.

multifreq_envelope_kernel_r2(pos1, pos2, ...)

The kernel Gamma_{r^2}(r, r') of the time domain diffuse sound field with envelope regularization.

multifreq_envelope_kernel_r3(pos1, pos2, ...)

The kernel Gamma_{r^3}(r, r') of the time domain diffuse sound field with envelope regularization.

reconstruct_freq(krr_params, pos_output, ...)

Reconstruct the function from kernel ridge regression parameters

soundfield_interpolation(to_points, ...)

Convenience function for calculating the frequency domain interpolation filter from a set of points to another set of points.

soundfield_interpolation_fir(to_points, ...)

Convenience function for calculating the time domain causal FIR interpolation filter from a set of points to another set of points.

time_domain_diffuse_kernel(pos1, pos2, wave_num)

Time domain diffuse sound field kernel.

time_domain_directional_kernel(pos1, pos2, ...)

The time domain directional kernel for a general directional function.

time_domain_directional_kernel_vonmises(...)

time_domain_directional_kernel_vonmises_approx(...)

time_domain_envelope_integral_kernel(pos1, ...)

The kernel Gamma_r(r, r') of the time domain diffuse sound field with envelope regularization.

time_domain_envelope_integral_kernel_r3(...)

The kernel Gamma_r^3(r, r') of the time domain diffuse sound field with envelope regularization.

time_domain_envelope_kernel(pos1, pos2, ...)

The kernel Gamma_r(r, r') of the time domain diffuse sound field with envelope regularization.

time_domain_envelope_kernel_r2(pos1, pos2, ...)

The kernel Gamma_{r^2}(r, r') of the time domain diffuse sound field with envelope regularization.

time_domain_envelope_kernel_r3(pos1, pos2, ...)

The kernel Gamma_{r^3}(r, r') of the time domain diffuse sound field with envelope regularization.

time_domain_freq_dependent_directional_vonmises(...)