The calculation of PSD has many specialities. Simple FFT transformation solves the problem (theoretically), but in practics there are more problems.
E.g.: time signal has finite length, while FFT decompose signal into a number of SIN/COS functions which are infinite, and to make it the time...