Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.32 KB

File metadata and controls

21 lines (16 loc) · 1.32 KB

ComplexImageMethod

Image method for shoebox rooms with spherical wave scattering

It has been shown by Lam that the image method with spherical wave reflection coefficients outperforms the image method with plane wave reflection coefficients when the surface impedance is far from rigid and the angle of incidence is far from normal. It has been shown to have the same accuracy as the boundary element method, when the room is rectangular with uniform admittance. However, this does not hold true in rooms with complicated geometries nor model scattering due to surface roughness.

This implementation takes in as input room dimensions, source position, microphone array positions, wall impedance and wave numbers to evaluate the solution on, and returns as output the total pressure field at the mic array locations. Run the scripts in the test/ folder to see examples.

Installation

It is best practice to create a virtual environment and then install the package with pip. This automatically downloads the correct versions of the required packages. A complete installation looks like

git clone https://github.com/SCReAM-Surrey/ComplexImageMethod/
cd ComplexImageMethod
python3 -m venv env
source env/bin/activate
python3 -m pip install ./