I would add one element to the discussion: for some (odd) reasons, SciPy is
lacking the functions `rfftn` and `irfftn`, functions using half the memory
space compared to their non-real equivalent `fftn` and `ifftn`. However, I
haven't (yet) seriously tested `scipy.fftpack.fftn` vs. `np.fft.rfftn` t
Just to point out another solution to change the sign:
>>> arr *= -1
Both solutions take the same time on my computer. However, the boolean
equivalent:
>>> arr ^= True
is a lot slower than using negative.
My two cents ...
--
Dr. Barbier de Reuille, Pierre
Institute of Plant Sciences
Altenb
Hello,
I am trying to use titles for record arrays. In the documentation, it is
specified that any column can set to "None". However, using 'None' fails on
numpy 1.6.2 because in np.core.records, on line 195, the "strip" method is
called on the title object.
First, I hope I understood the documen