CountSpectrum

class CountSpectrum[source]

Bases: object

Count spectrum object

constructor

init with no curve

meta_col = {‘PI’ : ‘PI Energy Channel: (0 - 1023)’,
‘counts’ : “counts in the energy channel”, ‘ctserr’ : “error on counts”, }

Methods Summary

add_bin(info_bin) add a bin at the end of the spectrum

Methods Documentation

add_bin(info_bin)[source]

add a bin at the end of the spectrum

Parameters:info_bin ([int, float, float]) – [PI, counts, ctserr]