XMM-Newton SAS Home Page
XMM-Newton Science Analysis System


efftplot (efftplot-2.21) [xmmsas_20230412_1735-21.0.0]

Examples

To create a postscript plot, called plot.ps, with the power density spectra of the time series measured by EPIC covering the three energy bands: 0.1 - 2.0; 2.0 - 10.0; and 0.1 - 10.0 keV, from the FITS file 'lightcurve.ds', where there are 512 bins for each interval, a command such as,

efftplot infile="lightcurve.ds" plotdevice="/VPS" outfile="plot.ps" nbins=512

can be used. To create a similar output file, but with gaps in the input lightcurve to be filled by the running mean of 4 bins, with a polynomial trend of order 1 to be removed from the time series by subtraction and with the x-axis of the final output to be plotted on a logarithmic scale, and using a user provided GTI file called gti.ds, the following command could be used.

efftplot infile="lightcurve.ds" plotdevice="/VPS" outfile="plot.ps" nbins=512
 fillgaps=yes npoints=4 removetrend=yes polyorder=1 operation=1 xscale="log" gtis=yes gtiset=gti.ds



XMM-Newton SOC -- 2023-04-16