Plan

class randomfield.transform.Plan(shape, dtype_in=None, data_in=None, overwrite=True, inverse=True, packed=True, use_pyfftw=True)[source] [edit on github]

Bases: object

A plan for performing fast Fourier transforms on a single buffer.

Transforms follow the normalization convention of np.fft independently of which implementation is being used.

Methods Summary

create_reverse_plan([reuse_output, overwrite]) Create a plan that reverses this plan.
execute()

Methods Documentation

create_reverse_plan(reuse_output=True, overwrite=True)[source] [edit on github]

Create a plan that reverses this plan.

When reuse_output is set, the new plan’s data_in uses the same memory as our data_out. Otherwise, a new un-initialized data_in buffer is allocated for the new plan.

execute()[source] [edit on github]