  Identifying frequencies with low signal-to-noise ratios in time series of
stellar photometry and spectroscopy, and measuring their amplitude ratios and
peak widths accurately, are critical goals for asteroseismology. These are also
challenges for time series with gaps or whose data are not sampled at a
constant rate, even with modern Discrete Fourier Transform (DFT) software. Also
the False-Alarm Probability introduced by Lomb and Scargle is an approximation
which becomes less reliable in time series with longer data gaps. A rigorous
statistical treatment of how to determine the significance of a peak in a DFT,
called SigSpec, is presented here. SigSpec is based on an analytical solution
of the probability that a DFT peak of a given amplitude does not arise from
white noise in a non-equally spaced data set. The underlying Probability
Density Function (PDF) of the amplitude spectrum generated by white noise can
be derived explicitly if both frequency and phase are incorporated into the
solution. In this paper, I define and evaluate an unbiased statistical
estimator, the "spectral significance", which depends on frequency, amplitude,
and phase in the DFT, and which takes into account the time-domain sampling. I
also compare this estimator to results from other well established techniques
and demonstrate the effectiveness of SigSpec with a few examples of ground- and
space-based photometric data, illustratring how SigSpec deals with the effects
of noise and time-domain sampling in determining significant frequencies.
