aspcol.soundfieldestimation_jax.reconstruct_krr_moving_mic_directional

aspcol.soundfieldestimation_jax.reconstruct_krr_moving_mic_directional(krr_params, pos_eval, pos_mic, wave_num, direction, beta, batch_size=8)

Takes the KRR parameters, and gives back a sound field estimate.

Parameters:
  • krr_params (ndarray of shape (num_real_freqs, N)) – krr parameters from krr_moving_mic_directional

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