name flex">
<span>def <span class="ident">fit_eeg_distribution</span></span>(<span>X, min_clean_fraction=0.25, max_dropout_fraction=0.1, fit_quantiles=[0.022, 0.6], step_sizes=[0.01, 0.01], shape_range=array([1.7 , 1.85, 2.
, 2.15, 2.3 , 2.45, 2.6 , 2.75, 2.9 , 3.05, 3.2 ,
3.35]))</span>
</code></dt>
<dd>
<div class="desc"><p>Estimate the mean and SD of clean EEG from contaminated data.</p>
<p>This function estimates the mean and standard deviation of clean EEG from
a sample of amplitude values (that have p