Subroutine efftplot Recover the parameters Read source time series FITS file : Get dataset and table. Get the number of RATE columns (NCOLUMNS) Get the number of bins in the lightcurve (NBINLC) Check if the device type and output file parameters are valid If not, then Set the device type and the output file to the default values Check if the default values are valid If not, raise an error and exit Open device For each RATE column : Create a command line for POWSPEC Run POWSPEC with the following options (the relevant ones are given): - Nbint is the closest power of 2 lower than the number of bins of the input light curve (computed from Nbins) - rebin=0 (rebin=no) - itre=0 (removetrend=no) - gapfill=0 (fillgaps=no) - normalization=1 - Nbintfm = NBINLC/Nbint (i.e the last incomplete data segment is ignored). Read the PDS so produced Draw the PDS with the help of the PGPLOT library Endfor Close device Release memory. delete POWSPEC temporary files End subroutine efftplot