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. Pressure field calculations in FOCUS converge quickly and achieve very short computation times through linear memory-efficient calculations that employ the fast nearfield method. This capability extends to fast and accurate biomedical ultrasound simulations within FOCUS. Moreover, FOCUS supports nonlinear pressure field calculations with 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 that is ideal for large volumetric pressure 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. Octave is similar to MATLAB, but unlike MATLAB, Octave is free software. Building and compiling FOCUS in Octave involved minor alterations due to discrepancies in syntax and function calls. Compiling MEX files in Octave simplified the conversion process while introducing additional memory overhead compared to rewriting C++ code for Oct-file structuring. The performance and capabilities of FOCUS in Octave are demonstrated and discussed.
Skip Nav Destination
Article navigation
13 May 2024
186th Meeting of the Acoustical Society of America and the Canadian Acoustical Association
13–17 May 2024
Ottawa, Ontario, Canada
Computational Acoustics: Paper 2aCA6
January 23 2025
Enabling support for GNU Octave within the FOCUS software package
Jacob S. Honer;
Jacob S. Honer
1
Department of Electrical and Computer Engineering, Michigan State University College of Engineering
, East Lansing, MI, 48824, USA
; [email protected]
Search for other works by this author on:
Robert J. McGough
Robert J. McGough
2
Department of Electrical and Computer Engineering, Michigan State University College of Engineering
, East Lansing, MI, 48824, USA
; [email protected]
Search for other works by this author on:
Proc. Mtgs. Acoust. 54, 022003 (2024)
Article history
Received:
December 11 2024
Accepted:
January 09 2025
Connected Content
This is a companion to:
Enabling support for Octave within the FOCUS software package
Citation
Jacob S. Honer, Robert J. McGough; Enabling support for GNU Octave within the FOCUS software package. Proc. Mtgs. Acoust. 13 May 2024; 54 (1): 022003. https://doi.org/10.1121/2.0001999
Download citation file:
86
Views
Citing articles via
Show your scattering coefficients
Michael Vorlaender, Stefan Feistel
Related Content
Serial and parallel implementations of the fast nearfield methods for continuous-wave and transient pressure calculations
Proc. Mtgs. Acoust. (October 2023)
Numerical evaluation of absorbing boundary layers for the transient Khokhlov–Zabolotskaya–Kuznetsov Equation
J Acoust Soc Am (April 2015)
Implementation of a perfectly matched layer in nonlinear continuous wave ultrasound simulations
J Acoust Soc Am (October 2014)
Simulations of nonlinear continuous wave pressure fields in FOCUS
AIP Conference Proceedings (March 2017)
Simulation of diagnostic ultrasound imaging with the fast nearfield method
J Acoust Soc Am (November 2013)