aspcol.soundfieldcontrol.spatial_cov_freq_superpos
- aspcol.soundfieldcontrol.spatial_cov_freq_superpos(Hb, Hd, d=None)
Calculates spatial covariance matrices from transfer function matrices
Assumes a superposition model, so the transfer functions are bright zone and dark zone respecively.
- Parameters:
Hb (ndarray of shape (num_freq, num_mic_dark, num_ls)) – complex transfer functions from loudspeakers to bright zone
Hb – complex transfer functions from loudspeakers to dark zone
d (ndarray of shape (num_freq, num_mic_bright, num_virt_src), optional) – desired complex sound pressure in the bright zone
- Returns:
Rb (ndarray of shape (num_freq, num_ls, num_ls)) – Hermitian spatial covariance for the bright zone
Rd (ndarray of shape (num_freq, num_ls, num_ls)) – Hermitian spatial covariance for the dark zone
rb (ndarray of shape (num_freq, num_ls, num_virt_src)) – spatial cross-correlation between the desired pressure and the transfer functions between loudspeakers and bright zone. Only returned if d is provided.