Abstract

FOCUS, the “Fast Object-Oriented C+ + Simulator” (https://www.egr.msu.edu/∼fultras-web/), is a free software package that enables rapid calculations of continuous-wave and transient pressure fields generated by single transducers and phased arrays. FOCUS achieves small errors in relatively short computation times through linear memory-efficient calculations with the fast nearfield method. This capability extends to quick and accurate biomedical imaging simulations within FOCUS. Moreover, FOCUS supports some nonlinear pressure calculations, such as the continuous-wave and transient Khokhlov-Zabolotskaya-Kuznetsov (KZK) equations for circular and spherical transducers. Additionally, the Angular Spectrum Approach (ASA), a frequency-domain solution to linear computational methods, ideal for large volumetric field computations, is also included within the FOCUS package. Initial success with MATLAB motivates the creation of an Octave version that replicates the core functionalities of the original FOCUS package. GNU Octave is similar to MATLAB, but unlike MATLAB, Octave is a free software. Building and compiling FOCUS in Octave required a few minor alterations due to discrepancies in syntax and function calls. The use of Octave-compiled MEX files simplified the conversion process while introducing addition memory overhead compared to rewriting C+ + code for Oct-file structuring. The performance and capabilities of FOCUS in Octave are demonstrated and discussed.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.