aspcol.soundfieldestimation.reconstruct
- aspcol.soundfieldestimation.reconstruct(pos_eval, pos_mic, wave_num, krr_params, kernel_func, kernel_args)
Reconstruct the sound field function from estimated kernel ridge regression parameters.
- pos_evalnp.ndarray of shape (num_eval, 3)
The position of the evaluation points.
- pos_micnp.ndarray of shape (num_mics, 3)
The position of the microphones.
- wave_numnp.ndarray of shape (num_real_freqs,)
The wave numbers defined as 2 * np.pi * freqs / c
- krr_paramsnp.ndarray of shape (num_pos, ir_len) or (num_pos * ir_len,)
The kernel ridge regression parameters, denoted by a in the paper [brunnströmTimedomain2025]
- kernel_funcfunction
The kernel function defined by the function space and the regularization specifically (R* R) Gamma(r, r’) The function should have the signature kernel_func(pos1, pos2, wave_num, *args) and return a kernel matrix which is a np.ndarray of shape (num_points1, num_points2, num_real_freqs, num_real_freqs). See documentation in kernel.py for more information.
- kernel_argslist
Additional arguments to the kernel function.
- Returns:
ir_eval – The estimated impulse responses at the evaluation points.
- Return type:
np.ndarray of shape (num_eval, ir_len)
References
[brunnströmTimedomain2025]