## ## TGEXTRACT -- create 1D spectrum(a) table file(s) from the ## L1.5 output event list ## infile,f,a,"AS_004_L1a.fits",,,"Input event file (output L1.5 file)" regionfile,s,a,"none",,,"Input region file associacted with event list" outfile_type,s,a,"pha2",pha1|pha2,,"Ouput file type: pha1 (single spectrum) or pha2 (multiple spectra)" outfile,f,a,"AS_004_pha2.fits",,,"If type=pha2, enter full output file name; if type=pha1, enter output rootname" # # tg_srcid_list patameter explanation... # - "all" will process all the sources id's found in the event list # - a comma list is a comma separated string list of all the # sources to process, ie: # "1,2,5,7" # - @file is a pointer to an ascii file which contains a comma # separated list of the id's to process # tg_srcid_list,s,a,"1",,,"Source ID's to process: 'all', comma list, @file" tg_part_list,s,a,"header_value",HETG|HEG|MEG|LETG|HESF|header_value,,"Grating parts to process: HETG, HEG, MEG, LETG, HESF, header_value" # # tg_order_list parameter explanation... # - "default" is set to process the following: # if ACIS: 1, 2, 3, -1, -2, -3 # if HRC: -1, 1 # - a comma list is a comma separated string list of the orders # the user wants to process, ie: # "-5, -1, 1, 3" # - a range list sets the min and max of the orders to process; # all the orders in between, will be processed, ie: # "-1..5" will do orders from -1 to +5th order # a range list can be mixed with comma separated list # - @file is a pointer to an ascii file which contains a comma # separated list and/or range list of the orders to process # tg_order_list,s,a,"default",,,"Grating diffraction orders to process: 'default', comma list, range list, @file" ancrfile,s,a,"none",,,"Input ancillary response file name" respfile,s,a,"none",,,"Input redistribution file name" backfile,s,h,"",,,"If backfile column is to be filled in, enter name here" rowid,s,h,"",,,"If rowid column is to be filled in, enter name here" grating_par,s,h,"grating",,,"Name of the grating .par file with tg characteristics" bin_units,s,h,"Angstrom",Angstrom|eV|keV|deg|pix|mm,,"Bin units (for bin parameters below): Angstrom, eV, keV, deg, pix, mm" min_bin,s,h,"compute",,,"Minimum dispersion coordinate; or 'compute'" max_bin,s,h,"compute",,,"Maximum dispersion coordinate; or 'compute'" bin_size,s,h,"compute",,,"Bin size for binning spectra; or 'compute'" num_bins,s,h,"compute",,,"Number of bins for the resultant spectra; or 'compute'" tg_d_units,s,h,"deg",deg|arcsec|mm|pix,,"Units in which tg_d parameters are given (for below): deg, arcsec, mm, pix" min_tg_d,s,h,"default",,,"Minimum tg_d range to include in histogram; or use 'default'" max_tg_d,s,h,"default",,,"Maximum tg_d range to include in histogram; or use 'default'" extract_background,b,h,yes,yes|no|YES|NO,,"Extract the local background spectrum?" min_bkg_tg_d,s,h,"default",,,"Minimum absolute value of the tg_d for a bkg region; or use 'default'" max_bkg_tg_d,s,h,"default",,,"Maximum absolute value of the tg_d for a bkg region; or use 'default'" clobber,b,h,no,no|NO|yes|YES,,"OK to overwrite existing output file(s)?" display,i,h,2,0,5,"Display level (0 = no display)" mode,s,h,"ql",,,