JYU-IBA / potku

Potku is analysis and simulation software for ToF-ERD measurements
https://www.jyu.fi/science/en/physics/research/infrastructures/accelerator-laboratory/pelletron/potku/
GNU General Public License v2.0
7 stars 7 forks source link

Sum energy spectrum crashes for measurement #255

Closed tpitkanen closed 2 years ago

tpitkanen commented 2 years ago

Steps to reproduce

  1. Open a measurement
  2. Draw energy spectra, select sum spectrum
  3. Potku should crash to AttributeError: 'MatplotlibEnergySpectrumWidget' object has no attribute 'self' on potku/widgets/matplotlib/measurement/energy_spectrum.py", line 697, in plot_measured_sum_spectrum