aspcol.kernelinterpolation.time_domain_envelope_kernel_r2
- aspcol.kernelinterpolation.time_domain_envelope_kernel_r2(pos1, pos2, wave_num, envelope_reg, reg_points)
The kernel Gamma_{r^2}(r, r’) of the time domain diffuse sound field with envelope regularization.
This is regularization option 2 in [brunnströmTime2025], which is constructed as a regularization at a finite set of points.
- 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.
envelope_reg (np.ndarray of shape (dft_len,)) – The envelope regularization weighting. The values must be positive and real-valued. The parameter represents the diagonal values of D^H D in [brunnströmTime2025].
reg_param (float) – The regularization parameter. This is the lambda in [brunnströmTime2025].
reg_points (np.ndarray of shape (num_reg_points, 3)) – The regularization points. These are the points where the regularization is applied. num_reg_points is V in [brunnströmTime2025].
- Returns:
The time domain kernel matrix. The dft_len is assumed to be even, and the number of real frequencies is dft_len//2 + 1.
- Return type:
np.ndarray of shape (num_points1, num_points2, dft_len, dft_len)
References
[brunnströmTime2025]