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

  • Context: Undergrad 
  • Thread starter Thread starter Przem
  • Start date Start date
  • Tags Tags
    Density
Click For Summary

Discussion Overview

The discussion revolves around calculating spectral density from a fast Fourier transform (FFT) of a signal, specifically in the context of voltage noise. The focus is on the theoretical and practical aspects of this calculation, particularly using Fortran 90.

Discussion Character

  • Technical explanation, Conceptual clarification, Debate/contested

Main Points Raised

  • One participant inquires about the method for obtaining spectral density from an FFT, suggesting a focus on voltage noise.
  • Another participant mentions that a power spectral density (PSD) is akin to calculating the root sum square (RSS) of the signal and suggests contacting a specific expert for further resources.
  • A different participant presumes that the inquiry pertains to the power spectrum or energy spectrum, which they relate to the Fourier Transform of the autocorrelation function, and notes the importance of the magnitude squared of the FFT along with a scaling factor.
  • The original poster expresses a desire to implement this calculation in Fortran 90, highlighting a specific concern regarding the scaling factor involved in the process.

Areas of Agreement / Disagreement

Participants have not reached a consensus on the exact method for calculating spectral density, and multiple viewpoints regarding the relationship between PSD, FFT, and scaling factors are presented.

Contextual Notes

There are unresolved aspects regarding the scaling factor and its application in the calculation of spectral density from FFT, as well as potential dependencies on definitions of power spectrum and energy spectrum.

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.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 28 ·
Replies
28
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K