aspcol.kernelinterpolation.time_domain_envelope_integral_kernel
- aspcol.kernelinterpolation.time_domain_envelope_integral_kernel(pos1, pos2, wave_num, envelope_reg, reg_points, integral_volume)
The kernel Gamma_r(r, r’) of the time domain diffuse sound field with envelope regularization.
This is regularization option 1 in [brunnströmTime2025], which is constructed as a weighting of the sound field as a whole.
- 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_points (callable) – A function that takes an integer and returns that many uniformly sampled points in the domain of the integral. The function should have signature reg_points(num_points), and return points of shape (num_points, 3).
integral_volume (float) – The volume of the integral domain.