getAlphaFilter
Create filter for medium.alpha_filter.
Syntax
alpha_filter = getAlphaFilter(kgrid, medium, filter_cutoff) alpha_filter = getAlphaFilter(kgrid, medium, filter_cutoff, taper_ratio)
Description
getAlphaFilter uses getWin to create a Tukey window via rotation to pass to the medium.alpha_filter input field of the first order simulation functions (kspaceFirstOrder1D, kspaceFirstOrder2D, and kspaceFirstOrder3D). This parameter is used to regularise time reversal image reconstruction when absorption compensation is included.
Inputs
| kgrid | k-Wave grid object returned by kWaveGrid | 
| medium | k-Wave medium structure | 
| filter_cutoff | alpha_filter cutoff frequency [Hz], where 
 Any of the filter_cutoff inputs may be set to  | 
Optional Inputs
| taper_ratio | taper ratio for Tukey Window (default = 0.5) | 
Outputs
| alpha_filter | filter | 
Examples
See Also
getWin, kspaceFirstOrder1D, kspaceFirstOrder2D, kspaceFirstOrder3D