find_phase()
This function is deprecated and should not be used. It has been replaced by find_single_focus_phase.
Description: This function finds a phase adjustment for each transducer such that the phase of all transducers at a given point is the same. This function will likely undergo some significant changes in the near future, but the overall form should remain the same.
Usage
transducer = find_phase(transducer, x, y, z, medium, f0);
transducer = find_phase(transducer, x, y, z, medium, f0, tol);
Arguments
- transducer A FOCUS transducer array.
- x x coordinate of the focus.
- y y coordinate of the focus.
- z z coordinate of the focus.
- medium A FOCUS medium.
- f0 The frequency of the array in Hz.
- tol Optional tolerance value.
Output Parameters
- transducer A FOCUS transducer array with the complex weights adjusted to reflect
Notes
Currently the program finds the phase of each transducer
at a given point. Once that has been established, each transducer is corrected such that the phase at the given point is 0.

