Exemple #1
0
 def __setstate__(self, state):
     self.attrs = state['attrs']
     self.power = BinnedStatistic.from_state(state['power'])
     if state['poles'] is not None:
         self.poles = BinnedStatistic.from_state(state['poles'])
Exemple #2
0
 def __setstate__(self, state):
     self.attrs = state['attrs']
     self.power = BinnedStatistic.from_state(state['power'])
     if state['poles'] is not None:
         self.poles = BinnedStatistic.from_state(state['poles'])
Exemple #3
0
 def __setstate__(self, state):
     self.attrs = state['attrs']
     self.poles = BinnedStatistic.from_state(state['poles'])