Sort:  

FFT has many many use cases. One of the most important algorithms I've come across. No I'm not a psychic but maybe my life would be much easier if I had such powers.

You can wrap your code in "```" for readability:

import numpy as np
a = np.array([1.0, 1.0, 1.0, 1.0, 0.0, 0.0, 0.0, 0.0])
print( ' '.join("%5.3f" % abs(f) for f in np.fft.fft(a)) )

Coin Marketplace

STEEM 0.20
TRX 0.12
JST 0.028
BTC 64182.15
ETH 3505.45
USDT 1.00
SBD 2.53