summaryrefslogtreecommitdiffstats
path: root/dpd/src
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-09-13 16:57:29 +0200
committerandreas128 <Andreas>2017-09-13 16:57:29 +0200
commitbd5152da189b429496e8f88f60b61f75e7fe3436 (patch)
tree1b4677986f344e57966b3f5a0000334bf4694212 /dpd/src
parentd2562d60af9f5d32c4e5ff89a1085962a9089d23 (diff)
downloaddabmod-bd5152da189b429496e8f88f60b61f75e7fe3436.tar.gz
dabmod-bd5152da189b429496e8f88f60b61f75e7fe3436.tar.bz2
dabmod-bd5152da189b429496e8f88f60b61f75e7fe3436.zip
Add constants for ExtractStatistic
Diffstat (limited to 'dpd/src')
-rw-r--r--dpd/src/const.py6
1 files changed, 6 insertions, 0 deletions
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