def zcr(self):
        zcr = 0
        for i in range(1, len(self)):
            if (self[i - 1] * self[i]) < 0:
                zcr = zcr + 1
                
        return zcr / (1.0 * len(self))
Compute the Zero-crossing rate (ZCR)
dataset/ETHPy150Open jsawruk/pymir/pymir/Frame.py/Frame.zcr