-Converted with LaTeX2HTML 96.1-h (September 30, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds - choose 264-choose - choose data from Obscat choose data from Obscat next up previous contents
Next: clear 280-clear - clears Up: Commands Previous: burst 259-burst - eliminate

choose 264-choose - choose data from Obscat choose data from Obscat

xsel > choose > <choose_which> <choose_sel>

xsel > choose 1-4 7 8-16 25

xsel > choose 0 ``EXPOSURE > 100"

Choose enables the user to select data by number from an observation catalogue (see make obscat). It is an alternative to typing in the full filenames in the read command. The call to choose clears the previously chosen or read in data, but read may be called as many times as you like after a call to choose.

If you have read in filters, (e.g. by select mkf, or filter ... commands) then you will be asked whether you want to clear the filters. If you say no, you will retain the filters, but the old data will still be cleared.

If choose_which = 0, then you will be prompted for a selection expression, and all those files matching the selection expression will be chosen. The selection expression follows the same syntax as in the select command, and must refer to columns in the obscat. Due to the pecularities of the interface, you cannot enter the selection expression on the command line, but must wait for the prompt.

Examples:

Example 1:

xsel > choose 1-5,7,10-**

Choose items 1-5,7, and 10 to the end of the list of files in the obscat.

Example 2:

xsel > choose 0 > Clear filters? >[yes] > Selection expression >[] datamode.eq.'BRIGHT'

Choose all files of the bright datamode, and delete the old filters.

Parameters:

 NAME          TYPE    PROMPT                                  DEFAULT
 =====================================================================
 choose_which  UNKNOWN Select files from the obs
 choose_clear  BOOLEAN Clear filters?                           yes
 choose_sel    STRING  Selection expression
 [gtiext]      STRING  The extension added to the SF to make     [2]
                       the GTI filename
 [gtidifflen]  INTEGER Length to be removed from SF before        0
                       appending
 [hkext]       STRING  Extension added to the SF to make the   HK.fits
                       HK file name
 [hkdifflen]   INTEGER Length to be removed from SF name before   5
                       appending
 [quiet]       BOOLEAN Echo filenames for files not found        yes



Umit Kiziloglu
Sun Dec 1 15:15:52 EET 1996