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

Commit ee617b3

Browse files
author
LAKESIDE\LindaT18
committed
got rid of line profile checkbox
1 parent a4c9b8d commit ee617b3

2 files changed

Lines changed: 3 additions & 14 deletions

File tree

PythonGUI_apps/FLIM_analysis/FLIM_plot.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,8 @@ def plot_intensity_sums(self):
7676
except Exception as err:
7777
print(format(err))
7878

79-
def custom_round(self, a, round_step):
80-
#Round a to the nearest interval of round_step
81-
return round(float(a)/round_step) * round_step
82-
8379
def line_profile_update_plot(self):
84-
if self.ui.line_profile_checkBox.isChecked() and hasattr(self, "intensity_sums"):
80+
if hasattr(self, "intensity_sums"):
8581
roiPlot = self.ui.intensity_sums_viewBox.getRoiPlot()
8682
roiPlot.clear()
8783
roi = self.ui.intensity_sums_viewBox.roi
@@ -143,8 +139,8 @@ def switch_compare(self):
143139
if not hasattr(self, "roi2"):
144140
self.roi2 = pg.ROI(pos=[0,0], size=[int(self.x_scan_size/2), int(self.y_scan_size/2)], movable=True, pen='r')
145141
self.roi2.addScaleHandle([1, 1], [0, 0])
146-
self.roi2.addScaleHandle([0, 0], [1, 1])
147-
self.roi2.sigRegionChangeFinished.connect(self.update_roi2_plot)
142+
self.roi2.addRotateHandle([0, 0], [1, 1])
143+
self.roi2.sigRegionChanged.connect(self.update_roi2_plot)
148144
self.ui.raw_hist_data_viewBox.addItem(self.roi2)
149145
self.update_roi2_plot()
150146
self.roi2.hide()

PythonGUI_apps/FLIM_analysis/flim_plot_gui.ui

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,6 @@
3232
</property>
3333
</widget>
3434
</item>
35-
<item>
36-
<widget class="QCheckBox" name="line_profile_checkBox">
37-
<property name="text">
38-
<string>Line profile</string>
39-
</property>
40-
</widget>
41-
</item>
4235
<item alignment="Qt::AlignLeft">
4336
<widget class="QPushButton" name="save_intensities_array_pushButton">
4437
<property name="text">

0 commit comments

Comments
 (0)