so I'm pretty sure that I'm plotting the wrong frequency domain against my FFT values because I keep getting basically the same graph shape every single time. I think that I just don't comprehend the context of some of the values, as I'm quite new to signal processing. Attached below is the frequency domain I'm attempting to use, which is what I'm seeing on most websites. Is T the actual period of your data? It doesn't really matter whether or not I have user input or hardcode a value in, the same graph shape remains. Same goes with completely different data sets, always the same shape remains.
import matplotlib.pyplot as plt from scipy.fft import fft, ifft transform = fft(data) per = input("What's your period: ") T = int(per) f = np.linspace(0, 1 / T, N) plt.plot(f, np.abs(transform)*(1/N))