gy_bins.reshape(-1) * u.keV
    #convert energy bin ranges to 1d
    det_trans = comp.transmission(ebins_1d)
    mean_trans = np.mean(det_trans.reshape((-1, 2)), axis=1)
    #calculate mean energy transmission factors for energy bins
    return mean_trans</code></pre>
</details>
</dd>
<dt id="stixdcpy.transmission.Transmission.get_transmission"><code class="name flex">
<span>def <span class="ident">get_transmission</span></span>(<span>self, energies, attenuator=False)</span>
</code></dt>
<dd>
<div class="de