aspcol.soundfieldestimation.apply_measurement

aspcol.soundfieldestimation.apply_measurement(shd_coeffs, pos, exp_center, wave_num, dir_coeffs=None)

Applies the measurement operator to a sequence of spherical harmonic coefficients

The operator is a function from a complex infinite (l2) sequence to a complex vector Xi : l^2(C) -> C^M

Assumes for now that the same directivity is used for all microphones

Parameters:
  • shd_coeffs (ndarray of shape (num_freq, num_coeffs,)) – spherical harmonic coefficients representing the sound field being measured

  • pos (ndarray of shape (num_mic, 3)) – positions of the measurement points where the sound pressure should be estimated

  • exp_center (ndarray of shape (1, 3)) – expansion center of the spherical harmonics

  • wave_num (ndarray of shape (num_freq,)) – wavenumber, defined as w / c where w is the angular frequency and c is the speed of sound.

  • dir_coeffs (ndarray of shape (num_freqs, num_coeffs) or (num_freqs, num_mic, num_coeffs), optional) – coefficients of the directivity function. If None, the directivity is assumed to be omnidirectional

Returns:

p_est – complex sound pressure at the measurement points

Return type:

ndarray of shape (num_freq, num_mic,)