aspcol.soundfieldestimation_jax.krr_moving_mic_rff
- aspcol.soundfieldestimation_jax.krr_moving_mic_rff(p, pos, pos_eval, sequence, samplerate, c, reg_param, num_basis=64, key=None, return_params=False, direction=None, beta=None, same_direction_for_all_freqs=True)
Sound field estimation with moving microphone using KRR with random Fourier features
- 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)) – N is a multiple of seq_len. The loudspeaker sequence used for the measurements, which is assumed to be periodic with period seq_len
samplerate (int)
c (float) – speed of sound
reg_param (float) – regularization parameter
num_basis (int, optional) – number of random basis directions to use, by default 64
Notes
Uses the diffuse kernel implicitly the reg_param is not identical to the standard KRR methods, and so might have to be chosen differently The params returns by return_params can be interpreted as plane wave coefficients, but are not the same as the standard krr parameters