def loadslice(self,it,smth=None):
"""
Load the variables initialized by self.vars2load()
"""
for i in self.vars2l:
if i in self.primitives:
self.__dict__[i]=self.readslice(self.__dict__[i+'f'],it,i)
for i in self.vars2l:
if i in self.derived:
#self.__dict__[i] = self._derivedv(i)
self._derivedv(i)
self.mmd={}
for i in self.vars2l:
if smth is not None:
self.__dict__[i]=gf(self.__dict__[i],sigma=smth)
self.mmd[i]=[self.__dict__[i].min(),self.__dict__[i].max()]
self.time = it*self.dtmovie
####
#### Method to add attributes to the object
####
评论列表
文章目录