Patent ID: 7638760

Claim:
A radiation detector comprising: a radiation sensor for outputting a value of detected radiation; an integrator for integrating said outputted value during an event; an offset register for storing and outputting a current offset value; a subtractor for subtracting said offset register output from said sensor output; an averaging circuit for calculating and outputting an average of a plurality of samples of said sensor output; a baseline register for storing an output of said averaging circuit a holding circuit for storing and outputting a delayed value of said baseline register output; an absolute difference generator for determining and outputting the absolute difference between said baseline register output and said holding circuit output; a delta window register for storing and outputting a window value; and a comparator for inputting said outputted absolute difference, and for outputting an out-of-window signal if the absolute difference is larger than said window value, wherein the detector is adapted such that said offset register is intermittently, periodically, or continuously updated with the value of the holding circuit output only if there was no out-of-window signal and said integrator did not integrate said outputted value during a specified time interval.