@property
    def phi(self):
        p = self.heartbeat_samples.p(self._dt())
        if p == 0:
            return float('inf')
        return -math.log10(p)
dataset/ETHPy150Open deliveryhero/lymph/lymph/core/connection.py/Connection.phi/original