perdgrm -- compute the periodogram (a discrete fourier analysis) on light curves which are comprised of binned intensities at unevenly spaced time intervals. This routine uses the definition and normalization of the periodogram given in Scargle, J. D. 1982, ApJ, 263, 835.
perdgrm infile outfile times rms
This task performs fourier analysis using the algorithm and normalization given by Scargle, J. D. 1982, ApJ, 163, 835. The algorithm works with any binned time series, but is particularly useful for series in which the bins are unevenly spaced in time. Rather than fill data gaps with the mean intensity, the algorithm uses a periodogram technique for determining the strength of sinusoidal variations present in the time series. The algorithm utilizes a normalization which allows for the computation of "false alarm probabilities" of observed peaks in the power spectrum.
This task computes the power spectrum and false alarm probabilities for an input light curve. The light curve may be broken up into intervals, and the intervals separately analyzed. Because in general the frequency sampling of the intervals may differ, averaging the power spectra from different intervals is not straight-forward and is not done in this routine. Instead, power spectra from diffent intervals are recorded in separate FITS extensions. The user may also modify the frequency resolution, determine the criteria for subtracting a polynomial from the input light curve, and modify the upper and lower period limits in which to compute the power spectrum. The user may also specify whether the window function is to be computed.
inres * (max time - min time) * (mean freq. step)
where
(mean freq. step) = (1/(N-1)) [sum over i] 1 / T(i) - T(i-1))
1. Analyze an input light curve, subtracting a polynomial of order 5 or less. Also compute the window function.
perdgrm sinetest2.lc sinetest2.ft - -5 window=yes
2. Analyze the input light curve in 3 intervals, subtracting a polynomial of order 2 or less in each interval. The results are output to 3 separate extensions in the output file.
perdgrm sinetest.lc sinetest.ft 49000.001-49000.003,49000.003-49000.006,
49000.006- -2
The implementation of Scargle's algorithm embodied here is based on routines developed by Koji Mukai and Alan Smale.
This routine can also be used with event lists, if the intensity at each time stamp is given a value of 1.