proceed_spectra edit page

procede Dubna spectra

Syntax

[sumdetector,sumphi,sumspectr,peaks,bgpeaks] = proceed_spectra(spec,bg,range,peakpositions)

Input

spec spectra
bg background
range
peakpositions double

Output

sumdetector sum over all detectors (range x 72)
sumphi sum over all phi (range x 19)
sumspectr sum over all spectra (72 x 19)
peaks peak sums (peaks x 72 x 19)