After lcurve loads the file, you will see some information about the file, including most importantly, the start/stop time of the experiment, and the bin width, usually in seconds. Clearly, the newbin width can't be smaller than the data resolution, i.e., smaller than the bin width of the input file. How do you select the number of bins to plot? To get a full screen plot, make sure that newbins number of new bins = duration of experiment in seconds. For instance, the file d05853.lc has data collected for nearly 4 hours, or about 13920 seconds. If the bin size newbin is 30.5 seconds, make the number of bins = 13920/30.5, which is about 470. Varying newbins and num of newbins gives you a chance to best view the data.
Exercise 2: Look at the light curve and power spectrum of some data taken of the source AM Her. The file is called d05479.lc (sequence number 85, broadband EXOSAT ME). This is a nice, dramatic source once you get around the fact that most of the data taken over nearly a day has zero counts.
Enter the following parameters when prompted:
Number of time series for this task: 1
Ser. 1 filename : d05479.lc
name of window file: -
Newbin Time: 30.
Number of newbins per interval: 20000
Name of output file: default (will automatically make d05479.flc)
Plot your results?: yes
PGPLOT device: /xw.
First try number of newbins = 20000. You'll get a squeezed plot. Control-c out of lcurve, and try again with newbins = 6000, then 3000. At 3000, you should see the data now. The interesting part of the curve is between and . To see error bars on the light curve, the x axis should be smaller than the entire data set. Use, for instance, number of newbins = 2000. Estimate the dominant frequency.
So, how do we concatenate? Just do the following:
Exercise 3:
Use powspec on the same file as exercise 2, (d05479.lc) and compare your estimated frequency to the calculated frequency.
Use the following parameters when prompted:
Ser. 1 filename : d05479.lc
default window: -
Newbin time: 30.
Newbins per interval: 2000
Intervals per Frame: 1
Rebin results?: 0
Output file: default
Plot results?: yes
PGPLOT device: /xw.
Note the huge peak to the far left of the plot. Note also the PLT prompt and realize that you can use something like rescale x 0. 1.e-3 to rescale the plot. Determining the peak frequency will be impossible without rescaling.
Exercise 4: Look at the power spectrum of the
another measurement of AM Her. These files (EXOSAT ME sequence no.
167) are located in the directory
tutorial/ftools/amher/ and are named d08040.lc and d08054.lc.
First look at the lightcurves using lcurve,
and then look at the spectrum of a single source (just choose one), and
then examine the spectrum when you look at both light curves. Use
concatenation to find the power spectrum of both light curves.