Skip to content
This repository has been archived by the owner on Nov 5, 2020. It is now read-only.

Commit

Permalink
Show fluorescence metadata in Information tab
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Oct 11, 2018
1 parent a619c64 commit b8e5c2f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Principal inertia ratio (dclab 0.6.3.dev1)
- Absolute tilt of raw contour (dclab 0.6.3.dev2)
- Add computation of Young's modulus for water medium (dclab 0.6.3.dev14)
- Show fluorescence metadata in Information tab
- Display data paths as tool tip in title editor (Contour Plot tab) (#227)
0.8.7
- Bugfixes:
Expand Down
13 changes: 13 additions & 0 deletions shapeout/gui/controls_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@
# These are values hidden in the user interface
HIDDEN = ["exposure time",
"video frame offset",
"bit depth",
"channels installed",
"laser count",
"lasers installed",
"sample rate",
"signal max",
"signal min",
"trace median",
]


Expand All @@ -28,20 +36,25 @@ def UpdatePanel(self, analysis):
imbox = self._box_from_cfg_read(analysis, "imaging", ignore=HIDDEN)
frbox = self._box_from_cfg_read(analysis, "setup", ignore=HIDDEN)
roibox = self._box_from_cfg_read(analysis, "online_filter", ignore=HIDDEN)
flbox = self._box_from_cfg_read(analysis, "fluorescence", ignore=HIDDEN)

# same size
h = genbox.GetMinSize()[1]
h = max(h, imbox.GetMinSize()[1])
h = max(h, frbox.GetMinSize()[1])
h = max(h, roibox.GetMinSize()[1])
h = max(h, flbox.GetMinSize()[1])
h = max(h, 50)
genbox.SetMinSize((-1, h))
imbox.SetMinSize((-1, h))
frbox.SetMinSize((-1, h))
roibox.SetMinSize((-1, h))
flbox.SetMinSize((-1, h))
sizer.Add(genbox)
sizer.Add(imbox)
sizer.Add(frbox)
sizer.Add(roibox)
sizer.Add(flbox)
self.SetSizer(sizer)
sizer.Fit(self)

0 comments on commit b8e5c2f

Please sign in to comment.