def save_wisdom(wisdomfile):
if wisdomfile is None:<EOL><INDENT>return<EOL><DEDENT>if wisdomfile:<EOL><INDENT>pickle.dump(<EOL>pyfftw.export_wisdom(), open(wisdomfile, '<STR_LIT:wb>'),<EOL>protocol=<NUM_LIT:2><EOL>)<EOL><DEDENT>
Save the acquired 'wisdom' generated by FFTW to file so that future
initializations of FFTW will be faster.