def __getstate__(self): odict = self.__dict__.copy() cdd(odict, super(PlatonicSpheresCollection, self).nopickle()) cdd(odict, ['rvecs', 'particles', '_params']) return odict
def __getstate__(self): odict = self.__dict__.copy() cdd(odict, super(Slab, self).nopickle()) cdd(odict, ['rvecs', 'image']) return odict
def __getstate__(self): odict = self.__dict__.copy() cdd(odict, self.nopickle()) return odict