def import_local_wisdom(self): local_wisdom_file = self.local_wisdom_filename() try: fftw3.import_wisdom_from_file(local_wisdom_file) self.wisdom_found.append(local_wisdom_file) except: pass
def __init__(self): if os.path.isfile(self.wisdomfile): fftw3.import_wisdom_from_file(self.wisdomfile)