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

Commit 438ae06

Browse files
fixed kilo ns units
1 parent ab8d2ab commit 438ae06

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PythonGUI_apps/Lifetime_analysis/Lifetime_plot_fit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def plot(self):
100100
x,y = self.acquire_settings()
101101
self.ui.plot.plot(x, y, clear=False, pen='r')
102102
self.ui.plot.setLabel('left', 'Intensity', units='a.u.')
103-
self.ui.plot.setLabel('bottom', 'Time', units='ns')
103+
self.ui.plot.setLabel('bottom', 'Time (ns)')
104104
try:
105105
self.ui.Result_textBrowser.setText("Integral Counts :\n" "{:.2E}".format(
106106
self.file.get_integral_counts(int(self.ui.Channel_comboBox.currentText()))))
@@ -173,7 +173,7 @@ def fit_and_plot(self):
173173
"\nA = " + str(a))
174174

175175
self.ui.plot.setLabel('left', 'Intensity', units='a.u.')
176-
self.ui.plot.setLabel('bottom', 'Time', units='ns')
176+
self.ui.plot.setLabel('bottom', 'Time (ns)')
177177
return self.out
178178

179179
def pub_ready_plot_export(self):

0 commit comments

Comments
 (0)