def setUp(self): TestCase.setUp(self) data = np.array([[0.0, 1.0, 0.1], [1.0, 2.0, 0.2], [2.0, 3.0, 0.3]]) self.r = _ChannelsResult(data)
def parse(self, group): data = np.copy(group['data']) return _ChannelsResult(data)