def data_dict(self):
        data = NeoViewerProvider._get_data_from_viewer(self.viewer)
        data['name'] = self.name
        return data
Return a dictionary with all information to serialize the object.
dataset/ETHPy150Open rproepp/spykeviewer/spykeviewer/plugin_framework/data_provider_viewer.py/NeoViewerProvider.data_dict