get_rect()

Description: Creates a rectangular transducer. It is intended to work with the create_rect_array functions, but it can be used independently.

Usage

transducer = get_rect(width, height);
transducer = get_rect(width, height, center);
transducer = get_rect(width, height, center, euler); 

Arguments

Output Parameters

Notes

The weight of the transducer is set to 1 and the phase is

set to zero. If you need to focus via phase shifting, you must manually change the phase after the function has run.