aspcol.kernelinterpolation_jax.diffuse_kernel

aspcol.kernelinterpolation_jax.diffuse_kernel(pos1, pos2, wave_num)

Diffuse sound field kernel.

Defined for each position pair as j_0 (k lVert r - r’ rVert_2^2) where j_0 is the zeroth order Bessel function

Parameters:
  • pos1 (np.ndarray of shape (num_points1, 3)) – Position of the first set of points.

  • pos2 (np.ndarray of shape (num_points2, 3)) – Position of the second set of points.

  • wave_num (np.ndarray of shape (num_real_freqs,)) – Wave number, defined as 2*pi*f/c, where f is the frequency and c is the speed of sound.

Returns:

The kernel matrix.

Return type:

np.ndarray of shape (num_points1, num_points2, num_real_freqs)