aspcol.soundfieldestimation.inf_dim_shd_analysis
- aspcol.soundfieldestimation.inf_dim_shd_analysis(p_freq, pos, pos_eval, wave_num, dir_coeffs, reg_param)
Estimates the sound field using directional microphones
Since we reconstruct the sound pressure immediately, without explicitly computing the spherical harmonic coefficients, no truncation or expansion center must be set.
- Parameters:
p_freq (ndarray of shape (num_freqs, num_mics)) – sound pressure in frequency domain at num_mic microphone positions
pos (ndarray of shape (num_mic, 3)) – positions of the microphones
pos_eval (ndarray of shape (num_eval, 3)) – positions of the evaluation points
wave_num (ndarray of shape (num_freq)) – wavenumbers
dir_coeffs (ndarray of shape (num_freq, num_mic, num_coeffs)) – harmonic coefficients of the directionality of the microphones
reg_param (float) – regularization parameter. Must be non-negative
- Returns:
est_sound_pressure – estimated RIR per frequency at the evaluation points
- Return type:
ndarray of shape (num_real_freqs, num_eval)