(self)
| 219 | self.flush() |
| 220 | |
| 221 | def flush(self): |
| 222 | pickle.dump(self.statistics_dict, open(self.statistics_path, "wb")) |
| 223 | pickle.dump(self.statistics_dict, open(self.backup_statistics_path, "wb")) |
| 224 | logging.info(" Dump statistics to {}".format(self.statistics_path)) |
| 225 | logging.info(" Dump statistics to {}".format(self.backup_statistics_path)) |
| 226 | |
| 227 | |
| 228 | def get_mean_sdr_from_dict(sdris_dict): |