Get Hi-Res data from MSO58 oscilloscope

Check if data has sufficient sample rate

Show raw data

Note: SiPM has range from 0V to +1V
anything above is clipped

Remove offset from OSC waveforms and flip

Plot OSC waveforms and peak thresholds

Find peaks

Generate wavaform with known peak function

Use differance to find less prominent peaks

Re-generate waveform

Show HXR energy spectrum