def merge2(self, dset): """ intended to merge dset with self, doesn't work, see notes in RQconv.c """ if not self.data.shape == dset.data.shape: print("merging 2D data sets have different shapes:") print(self.shape, " and ", dset.data.shape, "\n") exit() RQconv.merge(self.data, dset.data)