/span> <span class="n">n</span><span class="p">):</span>
        <span class="sd">&quot;&quot;&quot;Calculates a discrete version of a sum of Gaussian distributions.</span>

<span class="sd">        The calculation is done through the cumulative distribution function</span>
<span class="sd">        that is better at keeping the integral of the probability function</span>
<span class="sd">        constant with coarser grids.</span>

<span class="sd">        The values are normalized by dividing with the maxi