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

Efficiency plot is not working #250

Closed Huojuu closed 2 years ago

Huojuu commented 2 years ago

When trying to plot efficiency plots for hydrogen in the detector settings the "Plot efficiencies" button does nothing. (Request settings -> Detector -> Efficiencies -> Plot efficiencies)

The code does read the data from the correct file and goes through the plotting process like any other but does not produce a separate window with the plot like its supposed to.

jussiks commented 2 years ago

Thanks for reporting the issue. It seems efficiency plotting is not working properly at all:

Huojuu commented 2 years ago

Thanks for the valuable reply. I too noticed that EfficiencyDialog needs to be changed to QDialog to be able to call exec_. However I did not notice that it tried to plot wrong files. Looks to me that this issue is now solved.