FourierTransformBase.create_temporaries

FourierTransformBase.create_temporaries(r=True, f=True)[source]

Allocate and store reusable temporaries.

Existing temporaries are overridden.

Parameters

rbool, optional

Create temporary for the real space

fbool, optional

Create temporary for the frequency space

Notes

To save memory, clear the temporaries when the transform is no longer used.

See Also

clear_temporaries clear_fftw_plan : can also hold references to the temporaries