resonance_tester: Fixed multi-point resonance testing

Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
This commit is contained in:
Dmitry Butyugin
2021-04-03 23:45:42 +02:00
committed by KevinOConnor
parent bf01d6d1f8
commit 165d2fc228
4 changed files with 10 additions and 7 deletions

View File

@@ -142,7 +142,7 @@ class CalibrationData:
self._psd_map = {'x': self.psd_x, 'y': self.psd_y, 'z': self.psd_z,
'all': self.psd_sum}
self.data_sets = 1
def join(self, other):
def add_data(self, other):
np = self.numpy
joined_data_sets = self.data_sets + other.data_sets
for psd, other_psd in zip(self._psd_list, other._psd_list):