aspcol.soundfieldestimation_jax.krr_stationary_mics_frequency_weighted

aspcol.soundfieldestimation_jax.krr_stationary_mics_frequency_weighted(ir_mic, pos_mic, pos_eval, samplerate, c, reg_param, weighting_mat, verbose=False, max_cond=10000000000.0)

Estimates the impulse responses at the evaluation points using kernel ridge regression.

Uses a regularization defined by a linear operator.

Parameters:
  • ir_mic (np.ndarray of shape (num_mics, ir_len)) – The impulse responses measure at the microphones.

  • pos_mic (np.ndarray of shape (num_mics, 3)) – The position of the microphones.

  • pos_eval (np.ndarray of shape (num_eval, 3)) – The position of the evaluation points.

  • c (float) – The speed of sound.

  • reg_param (float) – The regularization parameter

Returns:

ir_eval – The estimated impulse responses at the evaluation points.

Return type:

np.ndarray of shape (num_eval, ir_len)