get_excitation_function()
Description: Returns a set of points corresponding to the given excitation function sampled with the given sampling period. This function is particularly useful for performing FDTSD calculations with excitation functions based on the analytically defined TSD functions.
Usage
points = get_excitation_function(ef_type, a0, f0, w, b, dt);
points = get_excitation_function(excitation_function, dt);
Arguments
- excitation_function A FOCUS excitation function created with set_excitation_function.
- ef_type A string representing the function type. Three are available:
- "tone burst" tone burst (A0sin(2π f0 t))
- "hann pulse" Hann-weighted pulse (A0(1 - cos(2πt⁄w))sin(2π f0 t))
- "tcubed pulse" broadband t3 pulse (A0 t3 e - B tsin(2π f0 t))
- a0 Amplitude of the function in m/s
- f0 Center frequency in Hz
- w width of the pulse in s
- b Exponential term in type 3 pulse.
- dt The sampling period in s.
Output Parameters
- points A set of points in time with the piston face velocity at that time.
Notes
Excitation function types can also be described using their integer identifiers; 1 for tone burst, 2 for Hann-weighted pulse, and 3 for t-cubed pulse.