Subject | Hash | Author | Date (UTC) |
---|---|---|---|
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 |
remove deprecated never used Plotly code | d42ebb3535e4736a1e9fdb84c8d6dae633c83a33 | I am | 2022-12-07 15:03:51 |
dicebox.circumtri.CircumTri: enable estimations | 4fe25ad47d71b1fd19fe00ad03d9b320b8c8614c | I am | 2022-12-07 14:30:46 |
dicebox: introduce new clean experimental CircumTri box | aca3e971212590a59e9d07a3ff1aa952d02a848b | I am | 2022-12-07 04:19:55 |
simplex.Triangulation: keep locally pdfs and failsi, send tuple on simplex invalidation | d2885ce44585e22294f9940159d6313642164f4c | I am | 2022-12-07 04:14:05 |
convex_hull.QHull: manual update() fix | 5ccff702b9920c7525c88d306f2300cd43b2e76b | I am | 2022-12-07 04:02:39 |
simplex: implement BetterCubatureIntegration | 88b14adc4423f0587bd51bed06e74ce6d0d60bd1 | I am | 2022-12-05 22:20:31 |
convex_hull.BrickHull: add get_hyperplane_distances() method a use it as fallback for the Qhull | 48d35c953a5cbbf739e5e838709bc00fe2f047d4 | I am | 2022-12-05 03:30:12 |
convex_hull.Qhull: add get_hyperplane_distances() method, add auto_update parameter | 28aada4b79b52f58c4ad43d270be997ec6359166 | I am | 2022-12-04 22:49:41 |
move diceboxes to the dedicated drawer | 31c7d30ed43f04b9469df843f909814c062adf5e | I am | 2022-12-04 21:27:37 |
File | Lines added | Lines deleted |
---|---|---|
wellmet/qt_gui/gl_plot.py | 3 | 3 |
File wellmet/qt_gui/gl_plot.py changed (mode: 100644) (index dd12914..fd6775f) | |||
... | ... | class CandidatesWidget(qt_plot.CandidatesWidget): | |
1135 | 1135 | #č načíst sloupce prostě z libovolného vzorku | #č načíst sloupce prostě z libovolného vzorku |
1136 | 1136 | cb = self.sb_item.sample_box.candidates_index.values().__iter__().__next__() | cb = self.sb_item.sample_box.candidates_index.values().__iter__().__next__() |
1137 | 1137 | #č je třeba mít seznam aktualní | #č je třeba mít seznam aktualní |
1138 | self.attr.setItems(list(cb.df.columns)) | ||
1138 | self.attr.setItems(self.get_items()) | ||
1139 | 1139 | ||
1140 | 1140 | #č neplest s self.attr! | #č neplest s self.attr! |
1141 | 1141 | attr = self.attr.currentText() | attr = self.attr.currentText() |
... | ... | class CandidatesWidget(qt_plot.CandidatesWidget): | |
1144 | 1144 | maxvalue = -np.inf | maxvalue = -np.inf |
1145 | 1145 | minvalue = np.inf | minvalue = np.inf |
1146 | 1146 | for id, cb in self.sb_item.sample_box.candidates_index.items(): | for id, cb in self.sb_item.sample_box.candidates_index.items(): |
1147 | array = getattr(cb, attr) | ||
1147 | array = np.atleast_1d(getattr(cb, attr)) | ||
1148 | 1148 | if len(array): | if len(array): |
1149 | 1149 | maxcb = np.nanmax(array) | maxcb = np.nanmax(array) |
1150 | 1150 | mincb = np.nanmin(array) | mincb = np.nanmin(array) |
... | ... | class CandidatesWidget(qt_plot.CandidatesWidget): | |
1164 | 1164 | ||
1165 | 1165 | #č a teď jdeme! | #č a teď jdeme! |
1166 | 1166 | for id, cb in self.sb_item.sample_box.candidates_index.items(): | for id, cb in self.sb_item.sample_box.candidates_index.items(): |
1167 | array = getattr(cb, attr) | ||
1167 | array = np.atleast_1d(getattr(cb, attr)) | ||
1168 | 1168 | if np.isnan(array).any(): | if np.isnan(array).any(): |
1169 | 1169 | msg = "%s candidates has nans in %s attribute"%(id, attr) | msg = "%s candidates has nans in %s attribute"%(id, attr) |
1170 | 1170 | error_msg = self.__class__.__name__ + ": " + msg | error_msg = self.__class__.__name__ + ": " + msg |