How Do You Calculate Spectral Density from FFT in Fortran 90?

  • Thread starter Thread starter Przem
  • Start date Start date
  • Tags Tags
    Density
AI Thread Summary
To obtain spectral density from a fast Fourier transform (FFT) of a signal, the magnitude squared of the FFT is typically used, along with a scaling factor. The discussion emphasizes the importance of understanding power spectrum and energy spectrum, which relate to the Fourier Transform of the autocorrelation function. For practical implementation, some participants are considering using software, while others are interested in coding solutions in Fortran 90. A reference to Tom Irvine's work at VibrationData.com is suggested for further reading on the topic. The main challenge highlighted is the correct application of the scaling factor in the calculations.
Przem
Messages
4
Reaction score
0
Spectral density?

How to get spectral density (e.g. of voltage noise) from a fast Fourier transform of a signal?
 
Last edited:
Physics news on Phys.org
Are you doing this by hand or via some kind of software? A PSD is pretty much an equivilent to doing an RSS of the signal.

If you contact Tom Irvine at VibrationData.com, he has some great papers and references on this subject.
 
i presume you mean power sprectrum or energy spectrum which is the Fourier Transform of the autocorrelation function. no?

i think you want the magnitude square of the FFT (there's another scaling factor involved.). later i'll post a more exact relationship.

gotta go.

r b-j
 
I want to do it via Fortran 90 and I have main problem with this scaling factor.
 
So I know that electrons are fundamental, there's no 'material' that makes them up, it's like talking about a colour itself rather than a car or a flower. Now protons and neutrons and quarks and whatever other stuff is there fundamentally, I want someone to kind of teach me these, I have a lot of questions that books might not give the answer in the way I understand. Thanks
Back
Top