&quot;&quot;</span>
<span class="sd">        Initialize mock spectrum by creating the spectrum and adding noise</span>

<span class="sd">        Args:</span>
<span class="sd">            lines: List of lines to model (e.x. [&#39;Halpha&#39;])</span>
<span class="sd">            fit_function: Function used to model lines  (options: &#39;sinc&#39;, &#39;gaussian&#39;, &#39;sincgauss&#39;)</span>
<span class="sd">            ampls: List of amplitudes for emission lines</span>
<span class="sd">            veloc