summaryrefslogtreecommitdiffstats
path: root/dpd/src/ExtractStatistic.py
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-09-14 11:21:10 +0200
committerandreas128 <Andreas>2017-09-14 11:21:10 +0200
commit0718c0390d9f05ef21ec202be2ce7ea6e2a6a31d (patch)
treea9762c215a4dc9dfc1c0044b9582617e55224966 /dpd/src/ExtractStatistic.py
parent426671f4af2a5d1d5d01225194eb66b2edb8c059 (diff)
downloaddabmod-0718c0390d9f05ef21ec202be2ce7ea6e2a6a31d.tar.gz
dabmod-0718c0390d9f05ef21ec202be2ce7ea6e2a6a31d.tar.bz2
dabmod-0718c0390d9f05ef21ec202be2ce7ea6e2a6a31d.zip
Add Model_PM
Diffstat (limited to 'dpd/src/ExtractStatistic.py')
-rw-r--r--dpd/src/ExtractStatistic.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/dpd/src/ExtractStatistic.py b/dpd/src/ExtractStatistic.py
index 6139e1d..897ec0a 100644
--- a/dpd/src/ExtractStatistic.py
+++ b/dpd/src/ExtractStatistic.py
@@ -169,8 +169,13 @@ class ExtractStatistic:
n_per_bin = [len(values) for values in self.rx_values_lists]
+ # TODO cleanup
+ phase_diffs_values_lists = self._phase_diff_list_per_bin()
+ phase_diffs_values = self._phase_diff_value_per_bin(phase_diffs_values_lists)
+
return np.array(self.tx_values, dtype=np.float32), \
np.array(self.rx_values, dtype=np.float32), \
+ np.array(phase_diffs_values, dtype=np.float32), \
n_per_bin
# The MIT License (MIT)