aspcol.kernelinterpolation.kernel_directional_3d_combined
- aspcol.kernelinterpolation.kernel_directional_3d_combined(points1, points2, wave_num, dirs, beta, kernel_weights)
Computes the summed directional kernel for a number of directions and weights.
The kernel is exemplified in (19) in [1]
- Parameters:
points1 (ndarray of shape (num_pos1, 3)) – The first set of positions where the kernel is evaluated
points2 (ndarray of shape (num_pos2, 3)) – The second set of positions where the kernel is evaluated
dirs (ndarray of shape (num_dir, 3)) – The directions for which the kernel is calculated
beta (ndarray of shape (num_beta,)) – The strength of the directional weighting for each kernel
kernel_weights (ndarray of shape (num_dir, num_beta)) – The positive factor determining the relative weight of the particular kernel represented by gamma in [1]
- Returns:
The directional kernel for each direction and beta value
- Return type:
ndarray of shape (num_pos1, num_pos2)
References
[1] R. Horiuchi, S. Koyama, J. G. C. Ribeiro, N. Ueno, and H. Saruwatari, “Kernel learning for sound field estimation with l1 and l2 regularizations,” in 2021 IEEE Workshop on Applications of Signal Processing to Audio and Acoustics (WASPAA), Oct. 2021, pp. 261–265. doi: 10.1109/WASPAA52581.2021.9632731.