예제 #1
0
파일: fftpower.py 프로젝트: bccp/nbodykit
 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
파일: fkp.py 프로젝트: twobombs/nbodykit
 def __setstate__(self, state):
     self.attrs = state['attrs']
     self.poles = BinnedStatistic.from_state(state['poles'])