Пример #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'])
Пример #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'])
Пример #3
0
 def __setstate__(self, state):
     self.attrs = state['attrs']
     self.poles = BinnedStatistic.from_state(state['poles'])