Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit ca8a338

Browse files
author
LAKESIDE\LindaT18
committed
fix open irf file function
1 parent 86d1517 commit ca8a338

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

PythonGUI_apps/Lifetime_analysis/Lifetime_analysis_gui_layout.ui

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,6 +1018,9 @@
10181018
</item>
10191019
<item row="0" column="1">
10201020
<widget class="QDoubleSpinBox" name="average_lifetime_spinBox">
1021+
<property name="decimals">
1022+
<number>4</number>
1023+
</property>
10211024
<property name="maximum">
10221025
<double>9999999.000000000000000</double>
10231026
</property>
@@ -1057,7 +1060,7 @@
10571060
</font>
10581061
</property>
10591062
<property name="title">
1060-
<string>Export Plot Settings</string>
1063+
<string>Export Settings</string>
10611064
</property>
10621065
<layout class="QGridLayout" name="gridLayout_3">
10631066
<item row="1" column="0">
@@ -1085,8 +1088,7 @@
10851088
</font>
10861089
</property>
10871090
<property name="text">
1088-
<string>Export Publication
1089-
Ready Figure!</string>
1091+
<string>Export figure</string>
10901092
</property>
10911093
</widget>
10921094
</item>

PythonGUI_apps/Lifetime_analysis/Lifetime_plot_fit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def open_irf_file(self):
101101
try:
102102
self.irf_file = np.loadtxt(filename[0], skiprows=10)
103103
except UnicodeDecodeError:
104-
self.file = read_picoharp_phd(filename[0])
104+
self.irf_file = read_picoharp_phd(filename[0])
105105
except:
106106
pass
107107

0 commit comments

Comments
 (0)