find_single_focus_phase()

Description: Calculates phase shifts to focus a transducer array at a given point.

Usage

transducer = find_single_focus_phase(transducer, x, y, z, medium, f0);
transducer = find_single_focus_phase(transducer, x, y, z, medium, f0, ndiv);
transducer = find_single_focus_phase(transducer, x, y, z, medium, f0, ndiv, linear_array); 

Arguments

Output Parameters

Notes

This function alters the transducer struct, the output transducer

should be the same as the input transducer. The logic is that if all elements have a complex_weight of 0 at the target point, the intensity at the point is the highest.