A new method of fourier spectral analysis from unevenly sampled astrophysical data