aspcol.soundfieldestimation.krr_stationary_mics_rdft

aspcol.soundfieldestimation.krr_stationary_mics_rdft(ir_mic, pos_mic, pos_eval, samplerate, c, reg_param, freqs_to_remove=0, kernel_func=None, kernel_args=None, verbose=False, max_cond=None)

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

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)