X-GEF Analysis Products and the Qualification of X-GEF Operation and Analysis ----------Revision notes-------------------------------------------- 7/23-8/4/98 dd, Initial version, ~dd/idl/xgef_test/qualify_x-gef.txt 11/19/98 dd, slight changes. 5/15/99 dd, note that det chamber ion gauge is off. -------------------------------------------------------------------- The following is a summary of products added-to or created-in the X-GEF data processing directory by standard X-GEF analysis steps. X-GEF analysis is carried out in a single date-coded directory where the X-GEF fits files have been retrieved and placed, e.g., at MIT /nfs/caliber/db/980617. Analysis adds files to this directory as well as creating sub directories for different grating-regions and tilt tests. Asterick numbered products ("* 1:") should be checked to verify X-GEF operation and test analysis validity; criteria are described. - - - 1.0 Products in main analysis directory (e.g., /nfs/caliber/db/980617 ) 1.1 After "xgef_analysis, /SUMMARY" * 1: test_summary.txt Check for and remove superfluous measurements in the test directory. Check for complete set of measurements HEG7: 1-188, MEG11: 1-191 (Note that the last items (188, 191) are source off and are not required for analysis.) Check for correct grating IDs Check time and average PSPC rate: HEG7: SSD 2.89, PSPC 7.69, 1254 c/s MEG11: SSD 4.03, PSPC 4.86, 1328 c/s list_fits.txt not generally useful... does have FITS header info. * 2: test_plots.ps Check that temp is stable (+/- 1C) Check that Source and Grating pressures are below 3x10-5 Check that the detector pressure is ~10-3: this is because the detector chamber ion gauge should be off for SSD use. Check that pressure is stable ~760 Compare Current plot to previous HEG7 or MEG11 plots, agreeing to 0.01 mA or so. 1.2 After "xgef_analysis, /SMD" * 3: smd_rate.ps Check that the plots look similar to previous runs. Check that the fit energies are accurate (HV set OK). * 4: smd_fits.ps Check fits compared to previous runs - amount of O-K? Check fit energies and widths. smd_results.txt This the result of the SMD fitting for all test items, it is in line-fit format (I think!). 1.3 After "xgef_analysis, /SSD" * 5: ssd_fits.ps Check for similarity and contamination lines. MEG11 has more lines than HEG7 so do MEG11 for source qualification if anodes swapped, etc. ssd_rate.ps Check for similar rates at ref gratings, use ssd_check_ref, next, preferably. * 6: ssd_check_ref.ps Check for efficiency agreement similar to previous. ssd_results.txt This the result of the SSD fitting for all SSD test items, it is in line-fit format (I think!). SSD_cal_file.txt This file is copied here from xgef_anc and give coefficients to convert the SSD channels to energy. HX220_Effics.lnf, MX078_Effics.lnf NSLS derived efficiencies for the reference gratings, copied from xgef_anc. ssd_effics.lnf, ssd_effics_noref.lnf SSD measured efficiencies w/o or with using ref grating efficiency values as transfer references. 1.4 After "xgef_analysis, /PSPC_CAL" * 7: calib_plots.ps Check all plots for similarity and outliers. Look for "noisy" or missing point in the energy fitting plot. Might need to create a new datecode_pspc_lin_cal.txt file to go into xgef_anc directory. * 8: plot_cal.ps Check for Mo ratio (0.9 +/- 0.05) and gap size (less than 3 mm). Check the shape of the PSPC calibration curves. calib_all_plts.ps All the plots from the calibration fitting - can be compared to past plots in case of problems in above two plots... pspc_lin_cal.txt This is the initial linear starting point for the PSPC calibration. It is copied from xgef_anc based on the datecode_pspc_lin_cal.txt files available. The s/w does offset it in X based on Mg or Ti data. pspc_cal_driver.txt This file, copied depending on test code (HEG7) from xgef_anc, specifies which test items will be analyzed to produce the PSPC calibration data. pspc_cal_file.txt This is the resulting cal file that will be used to calibrate the PSPC data for analysis. lin_calib_plots.ps similar plots to calib_plot.ps but from creating a linear calibration fit: can be useful with pspc_lin_cal1.txt to create new datecode_pspc_lin_cal.txt in xgef_anc. pspc_lin_cal1.txt new linear calibration file (optionally) created 2.0 Products in Grating-region subdirectories 2.1 After "xgef_analysis, /PSPC_ANAL" Basic PSPC analysis takes place for all subdirectories: for reference gratings (HX220Ref, MX078Ref), gratings-under-test (H2153p0, etc.), and tilt-tests (H2153p0tilt, etc.). The products are in generally not checked - as checking the PSPC calibration generally covers all aspects of the PSPC measurements. pspc_anal_driver.txt pspc_results.txt * 9 anal_plots.ps Check the relevant reference grating anal plots (HX220Ref or MX078Ref), for HEG tests where there is not a complete set of SSD spectra the PSPC spectra shown in the anal plots can be useful. Also, these plots are useful for tracking down aberrant pspc measured efficiencies that show up in jfit_compare.ps, below. 2.2 After "xgef_analysis, /PSPC_FITS,/AMP", (e.g. in '/980617/H2153p0 ) *10: jfit_compare.ps Check for a good fit to the measured data. Check for amp factor close to 1 Check for any data points far from fit curve - look at the anal_plots.ps for the test grating and for the reference grating to see how anomalous value came about. *11: jfit_shape.ps Check for bizarre bar shape jfit_resid_*.dat, * = "0","p2","m2","p1","m1" jfit_effics.dat, jfit_model.dat model efficiencies and parameters from the jfit fitting full_john_fit.sl, pre_pend.sl, john_fit.sl program to do the fitting and the pieces that made it (pre_pend is written by IDL to se initial parameters) pspc_effics_*.dat, * = "p1","p2","0","m1","m2" the measured efficiencies are put in these files for use by the fitting routine. ssd_effics_noref.lnf contains the relevant SSD-measured efficiencies for fitting *12: effics_compare.ps, effics_contour.ps these plots are for a RECTANGULAR model... however they can be useful, for example the contour plot will show if the right range of parameters is being assumed for the gratings. pspc_effics.ratios, effics_best_fit.txt input and output files for rectangular fitting. pspc_effics.lnf this file has the pspc-measured efficiencies for this grating-region. 2.3 After "xgef_analysis, /TILT", (e.g. in '/980617/H2153p0tilt ) tilt_coefs.txt a simple text file with linear fit coefficients to the tilt curve around normal incidence. *13: tilt_plots.ps Check that tilt plot looks similar to previous ones and that tilt stage is working. tilt_results.lnf the measured tilt results.