aspcol.soundfieldestimation.posterior_covariance_omni
- aspcol.soundfieldestimation.posterior_covariance_omni(pos, exp_center, max_order, wave_num, prior_covariance, noise_power)
Returns the posterior covariance of the spherical harmonic coefficients Assumes Gaussian priors for the spherical harmonic coefficients and Gaussian noise in the measurement equation
- Parameters:
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
noise_power (float) – variance of the noise in the measurement equation. The noise covariance matrix is assumed to be a identity matrix scaled by this value
prior_covariance (ndarray of shape (num_real_freqs, num_coeffs, num_coeffs),) – or ndarray of shape (num_real_freqs,) if the covariance is a scalar matrix or float if the covariance is a scalar matrix, identical for all frequencies.