@begin(header) author: Eric Mandel show_author: ShowNone author_organization: Smithsonian Astrophysical Observatory node_expert: assist_xray@cfa.harvard.edu expiration_date: 12/31/93 last_modifier: eric@foobar.mit.edu last_mod_date: 12/05/92 mod_num: 11 @end(header) @b This tutorial will lead you through some basic tasks in the PROS spectral package. It assumes that you already are set up to run IRAF and that your @b directory exists. Load the @b package: @button Load the @b package: @button Extract a spectrum from a circle centered at at 6958,9356 with radius 120 pixels in image xdata$snr. Background from annulus, same center, but with inner and outer radius of 130-200 pixels The output file is arlac_obs.tab: @button Load the @b package: @button Display the output table: @button Inspect counts vs. energy distribution to determine required channels. This is done by plotting net counts vs. energy: @button (Note:Ignore warning, counts_plot looks for the fit which you have not yet run.) While in cursor mode, you can do operations such as: List the available cursor commands: @button<:.help, @dynamic[SendString,iraf,task,:.help]> (To get out of help mode, type 'q' or ): @button Make a hardcopy and send it to the default IRAF printer: @button<:.snap, @dynamic[SendString,iraf,task,:.snap]> Quit cursor mode in plot_counts: @button Select channels 7:34 (=0.24-2.48keV): @button Run the spectral fitting program using a power-law spectrum: @button<"fit model='abs(19:21)*pow(1:3)' ...", @dynamic[SendString,iraf,task,"fit model='abs(19:21)*pow(1:3)' observed='arlac'"]> Plot the counts and model distribution. (Note that a power law is not a good fit to these data): @button Leave graphics window: @button List all parameters and counts for this fit: @button (THIS IS THE END OF THE TUTORIAL.)