next up previous contents
Next: About this document ... Up: ROSAT Xselect Guide Previous: Quick Summary   Contents

An Example Xselect Session

comments in italics









xselect

** xselect V1.1a **

> Enter session name >[xsel] session1

session1:ASCA > read events
> Enter the Event file dir >[./]
> Enter Event file list >[] rp700000.fits            
Got new mission: ROSAT and new instrument: PSPC
> Reset the mission and instrument? >[yes]
 This is ROSAT

 Notes: xselect set up for      ROSAT
 Keywords for time and pha are  TIME       PI
 Units of time are              s
 Keywords for images are          X          Y


Setting: IMAGE binning    =   15
         WMAP binning     =   15
         Energy Column    =  PI
         Energy rebinning =    1
         WMAP keywords = DX         DY


Getting Min and Max for Energy Column...
Got min and max for PI:     0    255

Number of files read in:   1

******************** Observation Catalogue ********************

Data Directory is: /disk/user/agn/
HK Directory is: /disk/user/agn/


        INSTRUME DATE-OBS XS-RAPT  XS-DECPT XS-OBSID XS-LIVTI
      1 PSPC     07/11/93 .218E+03 .623E+02 US700000 .952E+04


session1:ROSAT-PSPC > extract image
  Extractor 1.0q
 XPI 2.1t
 Doing file: /disk/user/agn/rp700000.fits
 Getting FITS WCS Keywords

100% completed
    Total      Good    Bad: Region      Time     Phase       PHA
   124810    123847              0         0         0       963
===========================================================================
   Grand Total      Good   Bad:  Region      Time     Phase       PHA
        124810    123847              0         0         0       963
 Total Counts for image :   123847
 Total Time for image :     9625.0000000000
 Total Counts/Time for image :     12.867220779221
session1:ROSAT-PSPC > saoimage

define regions and save to a file, as detailed in section 3.1.2

session1:ROSAT-PSPC > filter region target.reg
session1:ROSAT-PSPC > set binsize 200             
session1:ROSAT-PSPC > extract curve exp=0.1

(200 s time bins set)

(minimum partial bin 20s)

 Extractor 1.0q
 XPI 2.1t
 Doing file: /disk/user/agn/rp700000.fits
100% completed
    Total      Good    Bad: Region      Time     Phase       PHA
   124810    123847              0         0         0       963
===========================================================================
   Grand Total      Good   Bad:  Region      Time     Phase       PHA
        124810    123847              0         0         0       963
 Total Counts for Fits Light Curve :   123847
 Total Time for Fits Light Curve :     9625.0000000000
 Total Counts/Time for Fits Light Curve :     12.867220779221
session1:ROSAT-PSPC > plot curve

Note: cursor timing selection is now done with the command
   FILTER TIME CURSOR
(the light curve has a few bad points which i wish to exclude)
session1:ROSAT-PSPC > filter time cursor
Type:
  - click to include a time region
c - to cancel cursor selection
e - makes the selection excluded
l - puts cursor on the left
r - puts cursor on the right
x - to exit cursor selection
p - to return to PLT prompt
  - click outside the plot to cancel a selection

Enter QUIT at PLT prompt to continue
(2 clicks define a time for inclusion and these are written to session1_cursor_gti001.xsl save these times to a file so you can use them again in a future session)
session1:ROSAT-PSPC > save time cursor
> Give output file name >[] good.times

session1:ROSAT-PSPC > extract spectrum
 Extractor 1.0q
 XPI 2.1t
 Doing file: /disk/user/agn/rp700000.fits
 Getting FITS WCS Keywords

100% completed
    Total      Good    Bad: Region      Time     Phase       PHA
   124810     17847              0    106781         0       182
===========================================================================
   Grand Total      Good   Bad:  Region      Time     Phase       PHA
        124810     17847              0    106781         0       182
 Total Counts for spectrum :   17847
 Total Time for spectrum :     1401.5493164062
 Total Counts/Time for spectrum :     12.733765263260
session1:ROSAT-PSPC > save spectrum
> Give output file name >[high_state]
The data will be grouped using the following:

Bad 1-11, 212-256&group 12-211 10&show group&show quality&exit

> Group ( or rebin ) the spectra before outputting? >[yes]
(if the spectrum you are saving is a background spectrum then do not group the data)
 
--------
 GROUPING
 --------
 ---------------------------------------------
 Channel Grouping (Channel-Channel) :
    1 -  11  are single channels
   12 - 211  are grouped by a factor   10
 ---------------------------------------------


 -------
 QUALITY
 -------
 Bad Channels (Channel - Channel)
 ---------------------------------------------
    1 -  11  have quality 5
  212 - 256  have quality 5
 ---------------------------------------------

Wrote spectrum to high_state.pha

session1:ROSAT-PSPC > exit
Do you wish to save this session?> no



Michael Arida 2001-09-20