| phaz | stsdas.hst_calib.hrs.z_calib | phaz |
phaz -- Perform a pulse height distribution analysis.
phaz input eefile intphd difphd fitphd table
This task does a pulse height analysis (PHA) of an input Goddard High Resolution Spectrograph (GHRS) PHA observation. The differential pulse height distribution for each diode is computed and fitted by a Gaussian distribution with a linear baseline. A threshold is computed for each diode using the center of the fitted Gaussian (CENT). If the center is at CENT, then the thresholds are set as follows:
CENT*percent main diode array CENT*percent+corner corner diodes CENT*percent+focus focus diodes ave*pcrad radiation diodes
where percent, corner, focus, and pcrad are input parameters, and ave is the average of the thresholds for the main diode array.
Four output files are produced by phaz. Three of these are images containing the integral, differential, and fitted differential pulse height distributions. The names of these images are specified by the intphd, difphd, and fitphd parameters, respectively. The fourth file contains the results of the threshold analysis and is specified by the table parameter; this table contains results of the Gaussian distribution for each diode.
'DIODE' - The diode number from 1 to 512 (integer).
'AMP' - The amplifier number as found in the 'chfile' table
(integer).
'CHANNEL' - Channel number (taken from the input channel
number file 'chfile') (integer).
'CENTER' - Center of the fitted Gaussian distribution
(i.e., the threshold) (double).
'PEAK' - Peak value of the fitted Gaussian (double).
'SIGMA' - Sigma of the fitted Gaussian (in threshold
units) (double).
'A0' - Constant term of the linear baseline (double).
'A1' - Slope of the linear baseline (double).
'FWHM' - Full width-half-max of the fitted Gaussian
distribution (double).
'THRESH' - Computed threshold (double).
'COUNTS' - The count rate in the integrated PHA data at the
choosen threshold (double).
1. Perform the pulse height analysis of the the images phadata and phaee using an initial threshold level of 20 and a step size of 2. The results will be placed in the output table ttab.
cl> phaz.t0 = 20 cl> phaz.delt = 2 cl> phaz phadata.hhh[*] phaee.hhh[*] intphd difphd fitphd ttab
Author: Jonathan Eisenhamer
For assistance using this or any other tasks, please contact help@stsci.edu or call the help desk at 410-338-1082.
pha_all, pha_center, pha_diode, pha_rms, pha_sig2rms, pha_summary, pha_text