Exemplo n.º 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)
Exemplo n.º 2
0
 def __del__(self):
     try:
         fftw3.export_wisdom_to_file(self.wisdomfile)
     except TypeError:
         pass
Exemplo n.º 3
0
 def __del__(self):
     try:
         fftw3.export_wisdom_to_file(self.wisdomfile)
     except TypeError:
         pass