Exemplo n.º 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'])
Exemplo n.º 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'])
Exemplo n.º 3
0
 def __setstate__(self, state):
     self.attrs = state['attrs']
     self.poles = BinnedStatistic.from_state(state['poles'])