The scattering library
Routines for computing the analytical solutions to acoustic scattering problems involving prolate spheroids, oblate spheroids, and disks.
The software in this library is described in the following paper: http://scitation.aip.org/content/asa/journal/jasa/136/6/10.1121/1.4901318.
Using the scattering library
Clone this repository to your local machine. Alternatively, you can download this repository as a ZIP by clicking on the link to the right. This will give you the entire repository, including not only the scattering library, but also the spheroidal library.
Open up MATLAB, and run
sandbox.m. This will set up all of the paths.
generate_all_test_figures.m. This repository comes with the precomputed spheroidal wave functions necessary to generate these test figures. It will generate four figures, saving each one as a PDF in the
generate_figures.m, you'll need to download more precomputed spheroidal wave functions at https://www.dropbox.com/s/tmqr3x05mpskinw/saved.zip?dl=0. This ZIP is approximately 800 MB, so make sure you have enough disk space. Unzip the contents of saved.zip into the
saveddirectory. Once done, run
generate_all_figures.m, which will generate 11 figures, saving each one as a PDF in the
For those interested in lower-frequency stuff, you can download https://www.dropbox.com/s/sor9szivwbk7v5f/saved_small_c.zip?dl=0, which contains precomputed spheroidal wave functions for c = 0.1, 0.5, 1.0, and 5.0.
You can use the the spheroidal library to compute the spheroidal wave functions for values of c, m, and/or n that aren't included in either of these ZIPs.
The scattering library is Copyright (c) 2014, Ross Adelman, Nail A. Gumerov, and Ramani Duraiswami, and is released under the BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause).
The spheroidal library
The spheroidal library includes routines for computing the spheroidal wave functions, and is located in the
This repository contains four libraries from the MATLAB Central File Exchange. They are:
export_figby Oliver Woodford (http://www.mathworks.com/matlabcentral/fileexchange/23629-export-fig)
cubehelixby Stephen Cobeldick (http://www.mathworks.com/matlabcentral/fileexchange/43700-cubehelix-colormaps)
legendflexby Kelly Kearney (http://www.mathworks.com/matlabcentral/fileexchange/31092-legendflex--a-more-flexible-legend)
spaceplotsby Aditya (http://www.mathworks.com/matlabcentral/fileexchange/35464-spaceplots)
These four libraries were released under their own licenses, which can be found along with their code in their respective directories in this repository.