aspcol.sphericalharmonics.reconstruct_pressure

aspcol.sphericalharmonics.reconstruct_pressure(shd_coeffs, pos, expansion_center, wavenum)

Returns the complex sound pressure at some positions using the provided spherical harmonic coefficients

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

  • pos (ndarray of shape (num_pos, 3)) – positions of the evaluation points

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

  • max_order (int) – maximum order of the spherical harmonics. Could be removed in a future version of the function, but must currently equal the max_order of the provided coefficients

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

Returns:

p_est – complex sound pressure at the evaluation points

Return type:

ndarray of shape (num_freq, num_pos,)