(self)
| 495 | # Pickle and copy |
| 496 | |
| 497 | def __getstate__(self): |
| 498 | ret = self.__dict__.copy() |
| 499 | ret['coef'] = self.coef.copy() |
| 500 | ret['domain'] = self.domain.copy() |
| 501 | ret['window'] = self.window.copy() |
| 502 | ret['symbol'] = self.symbol |
| 503 | return ret |
| 504 | |
| 505 | def __setstate__(self, dict): |
| 506 | self.__dict__ = dict |