- #1
BillKet
- 312
- 29
Hello! I want to plot a rate vs energy plot, but I am not sure how assign the bin center. Assume I have 2 data points in the bin (so 2 energy values), ##E_1## and ##E_2## and the first one has 100 counts measured over 10 seconds (so a rate of 10 counts/s) while the second one has 2000 counts measured over 100 seconds (so a rate of 20 counts/s). If I combine them, I get a rate of 2100 counts per 110 seconds i.e. 19.1 counts per second. But I am not sure what energy to assign to this bin. Would it be ##(E_1+E_2)/2##? Or a time weighted average ##(t_1E_1+t_2E_2)/(t_1+t_2)##? Or something else (maybe related to the error on each bin i.e. ##\sqrt{N}##? Thank you!