asa_call()

This function is deprecated and should not be used. It has been replaced by cw_angular_spectrum.

Description: This function is a gateway to the C++ function that calculates the 3D pressure using the Angular Spectrum Approach.

Usage

pressure = asa_call(p0, z0, z, medium, nfft, delta, type, f0); 

Arguments

Output Parameters

Notes

To choose the number of FFT terms to use, the simplest method is to zero-pad the source pressure and increase the number of terms until an acceptable error is reached. Numbers of terms that are powers of two (e.g. 512, 1024) usually result in the fastest calculations.