zea.backend.tensorflow.layers.apodization¶
Apodization functions
Functions
|
Returns a square wave apodization. |
- zea.backend.tensorflow.layers.apodization.square_wave_apodization(n_el, block_size)[source]¶
Returns a square wave apodization.
Used for incoherent beamforming.
- Parameters:
n_el (int) – Total number of elements in array.
block_size (float) – In terms of number of elements that will be high/low. Can be a float.
- Returns:
array of size n_el.
- Return type:
apod (ndarray)
Example
- +1 +1 +1 +1 +1 +1 +1 +1
-1 -1 -1 -1
<———-> block_size = 4, n_el = 12