def stSpectralFlux(X, Xprev):
    """
    Computes the spectral flux feature of the current frame
    ARGUMENTS:
        X:        the abs(fft) of the current frame
        Xpre:        the abs(fft) of the previous frame
    """
    # compute the spectral flux as the sum of square distances:
    sumX = numpy.sum(X + eps)
    sumPrevX = numpy.sum(Xprev + eps)
    F = numpy.sum((X / sumX - sumPrevX/Xprev) ** 2)

    return F
dataset/ETHPy150Open tyiannak/pyAudioAnalysis/audioFeatureExtraction.py/stSpectralFlux/swapped operands of `/`