dow.
<pre class="codeinput">
run([getkWavePath('examples') 'example_pr_2D_TR_autofocus']);
</pre>
</p>

<p>For a more detailed discussion of this example and the underlying techniques, see B. E. Treeby, T. K. Varslot, E. Z. Zhang, J. G. Laufer, and P. C. Beard, "Automatic sound speed selection in photoacoustic image reconstruction using an autofocus approach," <em>J. Biomed. Optics</em>, vol. 16, no. 9, p. 090501, 2011.</p>

<h2>Contents</h2>
<div>
	<ul>
		<li><a href="#heading2">Selecting a focus function<