From bd5152da189b429496e8f88f60b61f75e7fe3436 Mon Sep 17 00:00:00 2001 From: andreas128 Date: Wed, 13 Sep 2017 16:57:29 +0200 Subject: Add constants for ExtractStatistic --- dpd/src/const.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dpd/src/const.py b/dpd/src/const.py index 1011c6c..6cf1537 100644 --- a/dpd/src/const.py +++ b/dpd/src/const.py @@ -36,3 +36,9 @@ class const: # frequency per bin = 1kHz # phase difference per sample offset = delta_t * 2 * pi * delta_freq self.phase_offset_per_sample = 1. / sample_rate * 2 * np.pi * 1000 + + # Constants for ExtractStatistic + self.ES_start = 0.0 + self.ES_end = 1.0 + self.ES_n_bins = 64 + self.ES_n_per_bin = 1024 -- cgit v1.2.3