[Previous]
[Next]
Name:
JUMPER_SHER
Purpose:
This procedure looks for counter overflow in the BATSE spectroscopy
data and then adjusts ;it to the true rate. The count spectrum is in two
byte unsigned integers (0-65535). The algorithm looks for abrupt
changes in the count rate spectrum (counts/keV) consistent with an overflow
of 1 unit of 65536 in the count spectrum. It projects the next rate
based on a Taylor's series expansion from the last corrected point starting
at the highest energy channels where it is assumed that there is no overflow.
The algorithm starts checking only where the count spectrum exceeds 10,000.
The corrected spectrum is returned as a longword vector, RESET
Category:
BATSE
INPUTS:
NSPEC - COUNT SPECTRUM - 2 BYTE UNSIGNED INTEGERS
ESPEC - CHANNEL MIDPOINTS IN KEV
WSPEC - CHANNEL WIDTHS IN KEV
THROWOUT - DON'T USE CHANNEL 0:THROWOUT
DEFAULT IS CHANNEL 10, 6 for HER
OUTPUTS:
RESET - CORRECTED COUNT SPECTRUM IN LONGWORD
CALLS: ***
CHECKVAR [1], REVERSE, checkvar [2]
CALLED BY
Shers_load [1]