<datadir> | | +-------+-------+-------+---... | | | | <trgt1> <trgt2> <trgt3> <trgt4> | | | | / \ | | | / \ ........... / \ / \ x_rev.fits y_rev.fits ... |
If the main data directory was found to exist or was successfully newly
created, the program will scan it for the existence of subdirectories
trgt1, trgt2, etc. which have been created in a previous
scs session (it will be explained later on how this is done).
trgt1 is supposed to contain all files related to the celestial
target trgt1, where trgt1 could be a name like
Her-X1, Crab, etc.
NOTE: In this scan for subdirectories under the main data directory
datadir only subdirectories previously created with
scs will be recognized.
If the initial scan for subdirectories under datadir was successful,
scs will initialize an internal data structure with this information
and it will be possible to change into any of those found directories from
within scs later on. This facilitates to work with files from
different celestial sources in a single scs session.
After the initial check for the required directory structure has been
successfully passed, scs will come up with a fairly large window on
the screen defined in the DISPLAY variable.
Please note that depending on the speed and current load of the machine it
might take up to several 10s for the scs window to appear.
The main scs window consists of three vertically arranged panels:
XTerm*scrollBar: TRUEto the .Xdefaults file, or, alternatively, by pressing Control + middle-mouse-button in the "xterm" window and selecting the entry "Enable Scrollbar" in the then posted menu.
005: fot_000420_LE_001_n_01_rev.fits LE/D01 4U 1626-67 391876 9105.6 06/08/96 14:57:07.035 24779.5 06/08/96 14:41:30.000 TTTTTTThe meaning of the various fields from left to right is (an identifier in the form (KEYWORD) signifies that the corresponding information is extracted from the value of the FITS header keyword KEYWORD):
The contents of the file list box is scrollable both horizontally and vertically through attached scrollbar widgets. In addition, the displayed files are selectable by simply clicking with the left mouse button anywhere on the corresponding text row. This will highlight the entire row and mark it as being selected. Multiple entries can be selected in this way which will then define a set of selected FITS files. Clicking on an already selected file with the left mouse button will de-select it and the corresponding text row will go back to the normal, non-highlighted state. Clicking with the middle mouse button anywhere in the file list box will de-selected all currently selected entries. Other mouse and keyword bindings exist for the file list box as well. The complete list is:
event | action |
single click left mouse button | select/de-select file under mouse cursor |
single click middle mouse button | de-select all currently selected files |
double click left mouse button | run FTOOLS task fdump on file under mouse cursor |
double click middle mouse button | run FTOOLS task fdump on file under mouse cursor starting with second extension |
double click right mouse button | run FTOOLS task fv on file under mouse cursor |
key F1 or keys Control+F1 | insert names of all currently selected files at actual position in terminal window; the list of files is sorted in ascending order of the values of the TSTART keyword. |
keys Shift+F1 | same as action bound to F1 key except that, in addition, "+2" will be appended to each file name |
key F2 | same as action bound to F1 key except that files are not time ordered |
datadir/srcdir/filepattwhere datadir is the above described main data directory, srcdir is a source directory under datadir and filepatt is a file matching pattern which will usually contain wildcard characters like * and ?. datadir/srcdir always indicates the current working directory, i.e., the directory inside which all subsequent commands will be executed. The filepatt component defines the contents of the file list browser box. Changing the file display pattern for the current directory will lead to an automatic update of the contents of the file list box according to the newly specified pattern. Example: Changing /sax/data/Crab/*_rev.fits to /sax/data/Crab/*_rhk.fits followed by Return will delete the present content of the file list box and re-initialize it with all files ending in _rhk.fits in the directory /sax/data/Crab. In case the srcdir component has been changed as well, the listbox update will occur after a cd in the new source directory has been performed.
menu entry | action performed when entry is selected |
cd workdir | change back into the currently defined working directory datadir/srcdir; this is useful if the the user has manually changed the directory in the terminal window and wants to return to the initial location. Note: Manual changes of the directory in the central terminal window do not change scs's internal working directory which is always displayed in the entry field in the bottom panel. |
update | forces an update of the contents of the file list box; this is useful if a shell command has created a new file which is not yet included in the list of displayed FITS file or if a task has altered the contents of an already displayed file. |
--------- | separator |
*_rev.fits, *_lev.fits, ?_ev.fits, *_rhk.fits, *_hkp.fits, *_hkg.fits, *_spt.fits, *.rmf, *.drt, * | update the filepatt component in the file display pattern field with the selected entry and update the contents of the file list box accordingly. |
The menu button also allows to change the currently defined main data directory, which is triggered by a middle-mouse button click. In response to this event a new dialog box with a simple directory browser will appear. The usage of this browser should be intuitively clear: A double click on one directory will change into it and re-initialize the browser. Clicking on the "Ok" button will accept the current choice as the new main data directory whilst pressing the "Cancel" button will quit the dialog leaving the main data directory unchanged.
Note: Almost all external SAXDAS tasks have an interface to the status clock widget as well. When run under the control of scs these tasks will indicate the status and progress of lengthy operations using the status clock as described above. Note however, that in this case, a click on the box is not effective, i.e., will NOT interrupt the running process.
main menu entry/ type of file to extract | using FTOOL | program to display result | available sub-menus |
---|---|---|---|
Image | f2dhisto | saoimage/SAOtng | Spatial (RAWX-RAWY, DETX-DETY, X-Y), PHA-BL, PHA-VETO, BL-VETO |
Spectrum | fhisto | fplot | Energy (PHA, PI, PIC), BL, VETO) |
Rates/Light Curve | fcurve | fplot | all events, bad events |
Before fselect is actually run on the original event list file the user will be given the opportunity to alter the command line parameters including the automatically generated name of the output file. This will make use of the general FTOOLS task front-end xft which is part of the SAXDAS software package. For more information about xft please follow the indicated link.
The dialog box to construct the boolean expression for fselect is very intuitive. It allows the user to build-up a complex filtering expression involving spatial region definitions or interval specifications in time, PHA, VETO, or BL space. A valid expression would be for instance
(PHA>=30&&PHA<=570)&&(BL>=20&&BL<=80)which selects events with PHA values in the range 30 to 570 and BL values between 20 and 80. For the meaning of the column names in event list file like PHA or BL, please consult Chap. 2 in Ref. [1].
button text | type of spatial region definition |
---|---|
SAOtng region | This reads a region definition file created by the FITS image displayer SAOtng if this is available on the system. If this button is pushed, scs will accumulate an image from the selected event list file and display this image in SAOtng. At this point the user is supposed to make a region selection in the SAOtng window (please refer to the SAOtng documentation on how to do this) and, if this is done, re-press the SAOtng button in the Fselect dialog box. This will then read the performed region definition from SAOtng and construct a corresponding boolean expression which will finally be inserted in the entry widget at the top of the dialog box. |
circle | a circle; position and radius in raw pixels coordinates can be specified through the entry widgets labeled "center X", "center Y", and "radius" respectively. |
rect. box | a rectangular region defined by a center point, X/Y half-widths and a rotation angle; the relevant entry widgets are labeled "center X", "center Y", "half X", "half Y", and "rotation angle" respectively. |
ellipse | an elliptical region defined by the same quantities as the rectangular region |
Cal-Src I/Cal-Src II | a rectangular region definition selecting the events from the calibration sources number I/II |
FOV | circular region defining the Field-Of-View |
BG box | a rectangle outside the FOV and away from either of the two calibration sources |
type of parameter | element in dialog |
---|---|
Which type of product file shall be extracted? | selectable check buttons |
Names of output files | editable entry fields with default values based on the name of the input event list file |
phaname, xyname, wmapname | multi-entry menu buttons; for the meaning of the three parameters, please consult the Xselect documentation |
Circular region definition for spatial filtering in Xselect | entry widget labeled "center X", "center Y", and "radius" defining the position and radius of the circle in raw pixel coordinates |
Type of post-processing to be performed on extracted spectra | two selectable check buttons labeled "updttime" and "grppha" |
scs datadir=/sax/data
scs datadir=/sax/data srcdir=Cyg-X1 filelistrows=18