What exactly is the amplitude spectrum of the Fourier Transform?

In summary: The amplitude spectrum is the max value of the fft function. When you plot it against the frequency, it seems to represent the amplitude of the wave at that frequency. The power spectrum is just the same thing but with the magnitude turned on.
  • #1
khkwang
60
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: 990
  • 2.png
    2.png
    11.3 KB · Views: 3,222
Physics news on Phys.org
  • #2
when you consider the vibration of a violin string, fourrier transform gives the amplitudes and frequencies of the harmonics.
 
  • #3
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.
 
  • #4
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.
 
  • #5
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.
 

1. What is the amplitude spectrum of the Fourier Transform?

The amplitude spectrum of the Fourier Transform is a representation of the amplitude (magnitude) of each frequency component that makes up a signal. It shows the strength of each frequency component in the signal.

2. How is the amplitude spectrum calculated?

The amplitude spectrum is calculated by taking the Fourier Transform of a signal and then plotting the magnitude of each frequency component on a graph. The magnitude is typically represented on the vertical axis and the frequency on the horizontal axis.

3. What does the amplitude spectrum tell us about a signal?

The amplitude spectrum provides information about the frequency content of a signal. It shows which frequencies are present and their relative strengths. This can help in understanding the characteristics of a signal, such as its dominant frequencies and any potential noise or interference.

4. How is the amplitude spectrum used in signal processing?

The amplitude spectrum is used in various signal processing applications, such as filtering, noise reduction, and signal analysis. It allows us to identify and isolate specific frequency components in a signal, which can help in enhancing or altering the signal in some way.

5. What are some common misconceptions about the amplitude spectrum?

One common misconception is that the amplitude spectrum only shows the peaks and valleys of a signal. In reality, it represents all frequency components, including those that may be hidden or less prominent. Another misconception is that the amplitude spectrum is the same as the frequency spectrum, when in fact they are different representations of a signal's frequency content.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
776
  • Calculus and Beyond Homework Help
Replies
8
Views
985
  • Calculus and Beyond Homework Help
Replies
1
Views
977
  • Calculus and Beyond Homework Help
Replies
3
Views
914
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
2K
  • Calculus and Beyond Homework Help
Replies
7
Views
2K
  • Differential Equations
Replies
4
Views
2K
  • Calculus and Beyond Homework Help
Replies
6
Views
215
  • Calculus and Beyond Homework Help
Replies
1
Views
2K
Back
Top