Text this: Determination of peak- to-total ratio versus gamma-ray energy of a HPGe detector