next up previous contents
Next: File types Up: Stage-II programs Previous: wop

wspiros

WSPIROS -------

FUNCTION Program to produce for further analysing SPEX compatible files on energy spectrums of both sky sources and accumulated detector

USAGE wspiros infile rootfile [optional parameters]

DESCRIPTION If the input file contains an extension having EXTNAME = "WFC_Sourcelist" one FITS file '[rootname].src' will be produced plus for each source a SPEX compatible textfile having the name '[rootname]nn.spa', where 'nn' equals 1 thru 99 corresponding to the order in the input file. If the input file contains an extension having EXTNAME = "WFC_Eventspectrum" a SPEX compatible textfile having the name [rootname]00.spa is produced.

PARAMETERS

infile [string] The name of the input FITS file containing a sourcelist or a (partial) detector energy spectrum

rootname [string] The rootname of which the complete names the resulting output files will be composed.

(source=0) [integer <= 99] The single source number to be extracted. If 0 all available sources will be extracted.

(verbsty=0) [integer >= 0] The verbosity level will control the output volume.

(title=" ") [string] User caption to be tagged to each output FITS file header

EXAMPLE

1. Extract the sources and write result into files OBSw1prn##.spa and OBSw1prn.src

--> wspiros OBSw1prn1 OBSw1prn

NOTES - The program uses the parameter passing of the FTOOLS convention. - A maximum of 99 sources can be processed - The number of energy bands may not exceed 32 - Of the extension holding a sourcelist only the columns with the following names are extracted: 'ra', 'dec', 'flux', 'sigma', 'signif', 'cname', and 'tname' - The layout in the '.src' FITS file is such as to enable the use of standard plotting utilities for FITS compatible files

SEE ALSO iros



Mark Savenije
Sat Jan 18 15:04:49 MET 1997