Mesh2scattering is based on Mesh2HRTF and is an open-source project aiming an easy-to-use software package for the numerical calculation of scattering pattern and scattering and diffusion coefficients of any surface. In a nutshell, Mesh2scattering consists of three parts:
- input: prepares geometrical data and acoustic parameters for the simulation,
- numcalc: based on the input from
input
, it calculates the corresponding sound field - output: processes the output from NumCalc to scattering pattern.
- process: processes the output to scattering and/or diffusion coefficients.
- utils: helping functions.
Please notice that this project does not support HRTF post processing, use Mesh2HRTF instead.
Check out the examples folder for a tour of the most important mesh2scattering functionality and read the docs for the complete documentation.
Use pip to install mesh2scattering
pip install mesh2scattering
(Requires Python 3.9 or higher)
For Windows the exe is downloaded automatically.
For Linux and MacOS NumCalc is build automatically, note that this requires
the build-essential
on Linux and xcode
on mac.
In the contributing guidelines, you will find a complete Instructions for
manual building.
Check out the contributing guidelines.