s="n">load_material</span><span class="p">(</span><span class="s1">&#39;TiO2&#39;</span><span class="p">)</span>
<span class="n">Ag_data</span> <span class="o">=</span> <span class="n">load_material</span><span class="p">(</span><span class="s1">&#39;Ag&#39;</span><span class="p">)</span>

<span class="c1"># Define wavelength range (in meters)</span>
<span class="n">wavelengths</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">linspace</span><span class="p">(</