aspcol.soundfieldestimation_jax.reconstruct_krr_moving_mic_diffuse

aspcol.soundfieldestimation_jax.reconstruct_krr_moving_mic_diffuse(krr_params, pos_eval, pos_mic, wave_num, batch_size=8)

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)) – regressor matrix from est_inf_dimensional_shd_dynamic

  • 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)