From ba8fb9e02e27ac70b50afbb5e713ea25067cecd4 Mon Sep 17 00:00:00 2001 From: Thomas Fillon Date: Wed, 16 Oct 2013 00:29:35 +0200 Subject: [PATCH] Add Processor a post_process() function. analyzer will produce the Results during that post-process --- timeside/analyzer/irit_speech_4hz.py | 2 +- timeside/analyzer/irit_speech_entropy.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/timeside/analyzer/irit_speech_4hz.py b/timeside/analyzer/irit_speech_4hz.py index 8d05487..1e5e876 100644 --- a/timeside/analyzer/irit_speech_4hz.py +++ b/timeside/analyzer/irit_speech_4hz.py @@ -101,7 +101,7 @@ class IRITSpeech4Hz(Analyzer): return frames, eod - def release(self): + def post_process(self): ''' ''' diff --git a/timeside/analyzer/irit_speech_entropy.py b/timeside/analyzer/irit_speech_entropy.py index bc034b4..8f84544 100644 --- a/timeside/analyzer/irit_speech_entropy.py +++ b/timeside/analyzer/irit_speech_entropy.py @@ -62,7 +62,7 @@ class IRITSpeechEntropy(Analyzer): self.entropyValue.append(entropy(frames)) return frames, eod - def release(self): + def post_process(self): entropyValue = array(self.entropyValue) w = self.modulLen * self.samplerate() / self.blocksize() -- 2.39.5