Output: |
---|
For standard grades (02346) and all grades: Encircled energy plots, branching ratios, surface plots, plots of 1-pixel-wide slices, spot diagrams, radial profiles, and pulse height spectra.
Procedure: |
---|
All of these programs were written for IDL 5. The software is available for downloading from this page, or it can be found in /data/aus1/aware/PSF/Programs/SWv3. To run this software, the user needs to
The location and name of the output file:
outfile='/data/aus1/aware/PSF/Models/OrbitData/filename1'
The location of the input data:
file_array=['/data/aus1/aware/PSF/Models/MARX/as4_f1/CCD-7/',
'/data/aus1/aware/PSF/Data/H-IAI-CR-1.001/H-IAI-CR-1.001',
'/data/aus1/aware/PSF/Data/Off_axis/H-IAI-PI-2.014/acis_hiaipi2014i000_evt.fits']
The type of data in each image, either MARX, XRCF, or FITS:
type_array=['marx','xrcf','l1']
And the range (in ADU) in which the program should fit a Gaussian and a power law: spec_range=[115,450,1500]
In analysis_plot, for any given data set, you'll want to edit the section labeled "Print relevant information". This section prints data about your files in the postscript file with the plots, data such as the source directory, off-axis position, source raytrace, and the number of events output by SAOSAC, MARX, and pileup. It will also automatically print out the encircled energy radii and PSF FWHM.
Analysis.bat will call analysis.pro, which then calls several other programs: make_image.pro , mkroi.pro , eer.pro , radial.pro , surfplot.pro , pixslice.pro , spec.pro , images , branch , and analysis_plot.
Potential problems: |
---|
The XRCF PSF wing data has a bright vertical streak through the middle of the image. This should be completely blocked out by the software, but you should check the output images just to make sure. If there's a problem, you might want to hardwire the xcen coordinates in that section of radial_sub.pro and eer.pro. To adjust the range of the fit to the outer regions of the radial plots (currently 10-15 or 10-20 pixels), open up radial_sub and change the minrange and maxrange parameters.
Actual code: |
---|
This is the latest version of the software (v.3). Versions 1 and 2 are available upon request or can be found in the directories /data/aus1/aware/PSF/Programs/SWv1/ and SWv2/.