aspcol.soundfieldestimation.krr_moving_mic
- aspcol.soundfieldestimation.krr_moving_mic(p, pos, pos_eval, sequence, samplerate, c, reg_param, kernel_func=None, kernel_args=[], return_params=False)
Estimates the RIR at evaluation positions using data from a moving microphone using Bayesian inference of an infinite sequence of spherical harmonics
- 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