def analyze(self): """ "amplitude" of variance => threshold. change of the amplitude * intra message * TODO across messages """ self._values = MessageAnalyzer.tokenDelta( MessageAnalyzer.tokenDelta(list(self._message.data), self._unit))
def analyze(self): """ 2nd order delta of bitwise congruence. see :func:`MessageAnalyzer.bitCongruence()` not unit-dependant, always byte-wise :return: list of amplitudes of bit congruences from index i = 1 to n between bits of i-1 and i """ super().analyze() self._values = MessageAnalyzer.tokenDelta(self._values) self._startskip += 1
def analyze(self): """ Delta of bitwise congruence. see :func:`MessageAnalyzer.bitCongruence` not unit-dependant, always byte-wise :return: list of amplitudes of bit congruence from index i = 1 to n between bits of i-1 and i """ super().analyze() self._bcvalues = self._values self._values = MessageAnalyzer.tokenDelta(self._values) self._startskip += 1 assert self._startskip + len(self._values) == len(self._message.data), \ "{} + {} != {}".format(self._startskip, len(self._values), len(self._message.data))
def analyze(self): """ Relative variance of single message bytes. """ self._values = MessageAnalyzer.tokenDelta(list(self._message.data), self._unit)