| 
 
      Create an image that shows the density of events in different orders
     
tg_osort_img evt1a.fits outroot 
      
        The order sorting image created by tg_osort_img allows the
	user to visualize how the chip energy of an event compares to 
	the energy determined from the distance to the source and the
	assigned order. 
       
        Output files have the designated rootname.  Two plots in FITS
	format are produced for each grating arm: all the events in
	the arm and the events assigned	to orders 1, 2, and 3.
               
        This script is used in the Create an Order-Sorting Image thread. 
       
tg_osort_img acisf01010_000N001_evt1a.fits 1010
	  
	    Create order-sorting images for ObsID 1010.  The output
	    files will have a root of "1010".  Four files are
	    produced, two for each of the HEG and MEG grating arms. 
	   
	    The script produces the following screen output:
	   
Imported ISIS module version 1.3.0
% Reading  acisf01010_000N001_evt1a.fits
% # events  =  1375572
% Osipfile =  NULL
% Processing file acisf01010_000N001_evt1a.fits
% Grating HETG
 |