Extending the dynamic range of nuclear pulse spectrometers