 dipolar emission in a vacuum follows the expected <code>sin^2</code> pattern. We define a dummy simulation (no actual interface),</p>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r">## radiation pattern of a dipole in a vacuum
## parallel and perpendicular orientations, p- polarisation

## from left to right
## incidence air | air

stack &lt;-<span class="st"> </span><span class="kw">list</span>(<span class="dt">wavelength=</span><span class="fl">632.8</span>,
             <spa