What exactly is the amplitude spectrum of the Fourier Transform?

Click For Summary

Homework Help Overview

The discussion revolves around the concept of the amplitude spectrum and power spectrum as derived from the Fourier Transform, particularly in the context of using numerical methods like the Fast Fourier Transform (FFT) in Python. Participants are exploring the implications of varying time intervals on the amplitude values and the interpretation of these spectra in relation to the original wave function.

Discussion Character

  • Conceptual clarification, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants are attempting to understand the significance of the amplitude spectrum values and why they vary with changes in the time step (dt). There are questions about the units of the amplitude spectrum and the relationship between the amplitude of the original wave and the resulting Fourier Transform values. Some participants also discuss the implications of the discrete nature of the FFT and how it affects the representation of energy across frequency bins.

Discussion Status

The discussion is active with participants raising questions about the behavior of the amplitude spectrum and its relationship to the original signal. Some have provided insights into the nature of the Fourier Transform and its numerical implementation, while others are seeking clarification on specific aspects of the amplitude and power spectra.

Contextual Notes

There is an ongoing exploration of the assumptions related to the frequency bin sizes and how they influence the amplitude values obtained from the FFT. Participants are also considering the implications of using different time intervals in their calculations.

khkwang
Messages
57
Reaction score
0

Homework Statement


Not really a homework question, but related none the less. I'm confused about what exactly the amplitude spectrum is. As well as the power spectrum.

Homework Equations


Not really taking a purely mathematical approach here, I'm using numpy for python. Specifically the fft module to produce:

f(t) = sum of 3 waves; same amp, phase; varying angular frequencies e.g. 3, 8, 5
F(freq) = fft(f): Fourier transform of f
freq = fftfreq(len(f)) dt): Produces frequency bins for F
amp_spec = abs(F)
pow_spec = amp_spec**2

The Attempt at a Solution


From what I gather, it is the absolute value of the Fourier Transform which is somewhat like a histogram of frequencies of the components that the initial f(t) wave oscillates at.

When I plot the graph amp_spec vs. freq, I get something similar to what I expect --peaks at 3, 8 and 5. But there is a mirror of this graph on the negative x-axis which I do not know the reason for but I suspect is just the way the function calculates the values (please correct me if I'm wrong).

The major question for me is what exactly does the value for the amplitude spectrum represent? When I use a dt (for my time array) of 0.01, I get the first graph shown below with ~250 as the max value on the y axis. But when I use 0.001 as my dt, the max value on the y-axis shoots up to ~2500. Incidentally, the number of frequency bins also goes up for reasons I also don't know...

Another question I have is what units would the y-axis be in? That and once I figure out what the amplitude spectrum is, what would the power spectrum be?

I've tried google with varying key terms and I still can't get a definite answer.
 

Attachments

  • 1.png
    1.png
    14.6 KB · Views: 1,083
  • 2.png
    2.png
    11.3 KB · Views: 3,300
Physics news on Phys.org
when you consider the vibration of a violin string, Fourier transform gives the amplitudes and frequencies of the harmonics.
 
I've already considered that but it doesn't explain why the amplitude of the Fourier transform grows so much larger as one decreases the interval between time steps. It also doesn't really make sense to me that the amplitude of the Fourier transform is ~250 or ~2500 when the amplitude of the original wave f(t) was only 3 max.
 
khkwang said:
I've already considered that but it doesn't explain why the amplitude of the Fourier transform grows so much larger as one decreases the interval between time steps. It also doesn't really make sense to me that the amplitude of the Fourier transform is ~250 or ~2500 when the amplitude of the original wave f(t) was only 3 max.

The FT of ideal sinusoid is a pair of Dirac Deltas which has infinitesimal frequency width with infinite magnitude. All energy is "concentrated" at that frequency.

Numerical implementation of FT, i.e. FFT, or discrete-time Fourier Transform, there is no way to make freq step infinitesimal hence the energy of the signal spreads through interval of the FFT bin so the magnitude will not be infinite. The magnitude drops as the bin size increases.
 
klondike said:
The FT of ideal sinusoid is a pair of Dirac Deltas which has infinitesimal frequency width with infinite magnitude. All energy is "concentrated" at that frequency.

Numerical implementation of FT, i.e. FFT, or discrete-time Fourier Transform, there is no way to make freq step infinitesimal hence the energy of the signal spreads through interval of the FFT bin so the magnitude will not be infinite. The magnitude drops as the bin size increases.

Ahh, I think I get it. But by bin size I assume you mean a single individual bin's size and not the total number of bins right? Otherwise forget what I just said.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K