Subject | Hash | Author | Date (UTC) |
---|---|---|---|
qt_gui.qt_pairwise.ContactWidget: add mask function | 6f88fec7db92e5cd21826a06f42a609a3e03cb6b | I am | 2022-12-21 15:20:01 |
qt_gui.qt_pairwise.ContactWidget: add option for mixed pairs only adjacency search. | 2f87e8a18908de607b8abc0779448ca3095c134c | I am | 2022-12-21 14:30:23 |
qt_gui.qt_dicebox: reflect changes in CircumTri class | 9821d389240a383f0b13b7dd92cd501e1c40c537 | I am | 2022-12-15 09:36:16 |
dicebox.circumtri: employ _Exploration class. Keep naive CircumTri class in renamed module | b8605fb24d55b3296ceac34afba541a5b7ee3070 | I am | 2022-12-15 09:33:59 |
convex_hull.QHull.get_exploration_vector: self -> hull fix | dae47ef37b5871a98d2ea274cc35aeb2a4eebe1c | I am | 2022-12-15 09:30:31 |
qt_gui/qt_dicebox: add DumpExplorationWidget | b687895f06c780418a12eea59bd052ad7cd348f3 | I am | 2022-12-15 01:31:14 |
dicebox: add helper _exploration module | 836ae6cd12f1a04f1e2fc3423e46777d16ebad7d | I am | 2022-12-15 01:30:20 |
convex_hull: add get_exploration_vector() method | 795259d91b64c732e60a83a1d9e3b89c2141b003 | I am | 2022-12-15 01:28:12 |
qt_gui.qt_gui: dot not create graph widgets if estimations are not present | f070ed140a135a980e4436ed3779455c0e1bf399 | I am | 2022-12-14 02:25:45 |
qt_gui.gl_plot.CandidatesWidget: apply changes for GLplot too | 03550040b60c67d247e26425e35fac565dd88886 | Aleksei Gerasimov | 2022-12-14 01:56:01 |
qt_gui.qt_plot.CandidatesWidget: add CandyNodes support | 2357cdd92170b1f660b15c92aec695d3f7c108b3 | I am | 2022-12-14 01:08:30 |
qt_gui.qt_graph_widgets.EstimationGraph: reimplement piece of zerosafe logic | 342a1b7bfddb7ba5695b3f0e017c7f75811db1f0 | I am | 2022-12-13 22:15:54 |
qt_gui.qt_graph_widgets: update x range when box runned | c52052a9c3f6926d03e8c39f7642aa0a8864fdc3 | I am | 2022-12-13 10:23:45 |
qt_gui.qt_graph_widgets.EstimationGraph: add outside and mixed lines | df6c06e4287492855d613b1ae46edfca6a4757d3 | I am | 2022-12-12 06:13:55 |
qt_gui: replace old copypaste by cleaned up EstimationGraph | 515d0d8a892984f8a7667da874972daff3318d74 | I am | 2022-12-12 05:36:43 |
qt_gui: prepare new BoxEstimationData class; rework ErrorGraph | 37387100715f980771a8a37f99eec3e723759cd3 | I am | 2022-12-11 23:17:06 |
dicebox.circumtri: replace ndim by nvar to make TriEstimation pandas-friendly | 0824222ae4c9c1f3fede971481816ed9ded9707a | I am | 2022-12-11 23:14:05 |
step back: introduce box_estimations, keep "estimations" for user ones | dde983d57423e28083980cbae05f0a81fc8311e6 | I am | 2022-12-10 03:54:09 |
simplex.BetterCubatureIntegration: hotfix | f8a607e5d60c591eb81037010717519c1fe6e993 | I am | 2022-12-08 00:29:57 |
qt_gui.qt_gui: add EstimationTableWidget | bb44fc8a056ed90906c217cfc95f7cabc6ef71eb | I am | 2022-12-07 23:17:42 |
File | Lines added | Lines deleted |
---|---|---|
wellmet/qt_gui/qt_pairwise.py | 11 | 0 |
File wellmet/qt_gui/qt_pairwise.py changed (mode: 100644) (index 5a367cd..179b886) | |||
... | ... | class ContactWidget(pg.LayoutWidget): | |
809 | 809 | btn = self.toolbar.widgetForAction(action) | btn = self.toolbar.widgetForAction(action) |
810 | 810 | btn.setAutoRaise(False) | btn.setAutoRaise(False) |
811 | 811 | ||
812 | action = self.toolbar.addAction("mask", self.clear_non_blue) | ||
813 | btn = self.toolbar.widgetForAction(action) | ||
814 | btn.setAutoRaise(False) | ||
815 | |||
812 | 816 | self.addWidget(self.toolbar, row=0, col=0) | self.addWidget(self.toolbar, row=0, col=0) |
813 | 817 | ||
814 | 818 | ||
... | ... | class ContactWidget(pg.LayoutWidget): | |
883 | 887 | self.w.image_view.blue[self.mask] = -1 | self.w.image_view.blue[self.mask] = -1 |
884 | 888 | self.w.image_view.update() | self.w.image_view.update() |
885 | 889 | ||
890 | def clear_non_blue(self): | ||
891 | vmask = self.condensed_contacts != 1 | ||
892 | Mmask = spatial.distance.squareform(vmask) | ||
893 | self.w.image_view.red[Mmask] = 0 | ||
894 | self.w.image_view.green[Mmask] = 0 | ||
895 | self.w.image_view.update() | ||
896 | |||
886 | 897 | def show(self): | def show(self): |
887 | 898 | try: | try: |
888 | 899 | self.w.image_view.blue[self.mask] = self.condensed_qontacts * 2 - 1 | self.w.image_view.blue[self.mask] = self.condensed_qontacts * 2 - 1 |