aspcol.soundfieldestimation_jax.krr_moving_mic_diffuse

aspcol.soundfieldestimation_jax.krr_moving_mic_diffuse(p, pos, pos_eval, sequence, samplerate, c, reg_param, return_params=False)

Estimates the RIR at evaluation positions using data from a moving omnidirectional microphone

reg_param is scaled by seq_len to have the same effect as the Bayesian method

Parameters:
  • p (ndarray of shape (N)) – sound pressure for each sample of the moving microphone

  • pos (ndarray of shape (N, 3)) – position of the trajectory for each sample

  • pos_eval (ndarray of shape (num_eval, 3)) – positions of the evaluation points

  • sequence (ndarray of shape (seq_len) or (1, seq_len)) – the training signal used for the measurements

  • samplerate (int)

  • c (float) – speed of sound

  • reg_param (float) – regularization parameter