aspcol.soundfieldestimation.reconstruct_from_krr_params
- aspcol.soundfieldestimation.reconstruct_from_krr_params(krr_params, pos_eval, pos, wave_num, kernel_func=None, kernel_args=[])
Takes the regressor from inf_dimensional_shd_dynamic, and gives back a sound field estimate. Reconstructs the sound field at the evaluation points using the regressor matrix from est_inf_dimensional_shd_dynamic
- Parameters:
krr_params (ndarray of shape (num_real_freqs, N)) – KRR parameters
pos_eval (ndarray of shape (num_eval, 3)) – positions of the evaluation points
pos (ndarray of shape (N, 3)) – positions of the trajectory for each sample
k (ndarray of shape (num_freq)) – wavenumbers
- Returns:
est_sound_pressure – estimated RIR per frequency at the evaluation points
- Return type:
ndarray of shape (num_real_freqs, num_eval)