Calibration of a Thomson parabola ion spectrometer using proton beams from a pelletron accelerator