FourierTransformBase.create_temporaries¶
-
FourierTransformBase.
create_temporaries
(self, 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
See also
clear_temporaries
clear_fftw_plan
can also hold references to the temporaries
Notes
To save memory, clear the temporaries when the transform is no longer used.