示例#1
0
	def export_local_wisdom(self):
		filename = self.local_wisdom_filename()
		if os.path.exists(filename):
			os.remove(filename)
		dir = os.path.dirname(filename)
		pyami.fileutil.mkdirs(dir)
		fftw3.export_wisdom_to_file(filename)
示例#2
0
 def __del__(self):
     try:
         fftw3.export_wisdom_to_file(self.wisdomfile)
     except TypeError:
         pass
示例#3
0
 def __del__(self):
     try:
         fftw3.export_wisdom_to_file(self.wisdomfile)
     except TypeError:
         pass