I have 64 values of the period sequence 1, 2, 4, 8, 16, 32, 29, 23, 11, 22, 9, 18, 1, 2, ... I compute its fourier transform using
from scipy import fft, iff