aspcol.soundfieldestimation.inf_dimensional_shd_omni_prior

aspcol.soundfieldestimation.inf_dimensional_shd_omni_prior(p, pos, exp_center, max_order, wave_num, reg_param, prior_mean)

Estimates spherical harmonic coefficients with Bayesian inference of an infinite sequence of spherical harmonics

Implements the method in Natsuki Ueno, Shoichi Koyama, Hiroshi Saruwatai, ‘Sound Field Recording Using Distributed Microphones Based on Harmonic Analysis of Infinite Order’

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

  • reg_param (float) – regularization parameter. Must be non-negative

  • 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

  • prior_mean (ndarray of shape (num_real_freqs, num_coeffs,)) – mean of the prior distribution for the sherical harmonic coefficients

Returns:

shd_coeffs – harmonic coefficients of the estimated sound field

Return type:

complex ndarray of shape (num_real_freqs, num_coeffs)