aspcol.soundfieldestimation.inf_dimensional_shd_omni
- aspcol.soundfieldestimation.inf_dimensional_shd_omni(p, pos, exp_center, max_order, wave_num, reg_param)
Estimates the spherical harmonic coefficients with Bayesian inference
Assumes all microphones are omnidirectional. Is identical to posterior_mean_omni, if reg_param = noise_power / prior_variance. So this function should be a wrapper for posterior_mean_omni or removed.
- Parameters:
p (ndarray of shape (num_real_freqs, num_mics)) – complex sound pressure for each microphone and frequency
pos (ndarray of shape (num_mics, 3)) – positions of the microphones
exp_center (ndarray of shape (1, 3)) – expansion center of the spherical harmonics
max_order (int) – maximum order of the spherical harmonics
wave_num (ndarray of shape (num_real_freqs,)) – wavenumber, defined as w / c where w is the angular frequency and c is the speed of sound
reg_param (float or ndarray of shape (num_real_freqs,)) – regularization parameter. Must be non-negative
- Returns:
shd_coeffs – harmonic coefficients of the estimated sound field
- Return type:
complex ndarray of shape (num_real_freqs, num_coeffs)
References
Natsuki Ueno, Shoichi Koyama, Hiroshi Saruwatai, ‘Sound Field Recording Using Distributed Microphones Based on Harmonic Analysis of Infinite Order’