Commit 1ec14d37 authored by Jan Kiene's avatar Jan Kiene
Browse files

correct small typo

parent defa3721
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ def get_ssnr(
        ss_seg = np.log10(1 + nrg_ref / (denom_add + nrg_diff))

        # only sum up segments that fall inside the thresholds
        # add smapp eps to nrg_ref to prevent RuntimeWarnings from numpy
        # add small eps to nrg_ref to prevent RuntimeWarnings from numpy
        ref_power = 10 * np.log10((nrg_ref + 10**-7) / len_seg)
        zero_mask = np.logical_or(ref_power < thresh_low, ref_power > thresh_high)