Seperate get magnitudes into get real data and get fft data more clearly. Stop following profile.py file.