Calculates the power spectrum of the current ROI. At present this must be a power of two pixels in length for both of the two dimensions.
The output is in the ``memory''.