iam-git / WellMet (public) (License: MIT) (since 2021-08-31) (hash sha1)
WellMet is pure Python framework for spatial structural reliability analysis. Or, more specifically, for "failure probability estimation and detection of failure surfaces by adaptive sequential decomposition of the design domain".
List of commits:
Subject Hash Author Date (UTC)
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
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
Commit b687895f06c780418a12eea59bd052ad7cd348f3 - qt_gui/qt_dicebox: add DumpExplorationWidget
Author: I am
Author date (UTC): 2022-12-15 01:31
Committer name: I am
Committer date (UTC): 2022-12-15 01:31
Parent(s): 836ae6cd12f1a04f1e2fc3423e46777d16ebad7d
Signer:
Signing key:
Signing status: N
Tree: d0d7ba352bbd46f633f646832cac7a2821ad5b72
File Lines added Lines deleted
wellmet/qt_gui/qt_dicebox.py 47 0
File wellmet/qt_gui/qt_dicebox.py changed (mode: 100644) (index 10e4c37..5610fdb)
... ... from .. import schemes
4 4 from ..candybox import CandyBox from ..candybox import CandyBox
5 5 from ..dicebox.goal import Goal, Razitko, DiceBox from ..dicebox.goal import Goal, Razitko, DiceBox
6 6 from ..dicebox.circumtri import CircumTri from ..dicebox.circumtri import CircumTri
7 from ..dicebox._exploration import DumbExploration
7 8 import pyqtgraph as pg import pyqtgraph as pg
8 9 from pyqtgraph.Qt import QtCore, QtWidgets from pyqtgraph.Qt import QtCore, QtWidgets
9 10
 
... ... spaces = ['R', 'aR', 'Rn', 'aRn', 'P', 'GK', 'G', 'aG', 'U', 'aU']
11 12 potentials = ['q_psee', 'psee', 'fee', 'fee2', 'ksee', 'chee', 'chee2', 'dd'] potentials = ['q_psee', 'psee', 'fee', 'fee2', 'ksee', 'chee', 'chee2', 'dd']
12 13
13 14
15
16 class DumbExplorationWidget(pg.parametertree.ParameterTree):
17 def __init__(self, wt, parent=None):
18 self.box = wt
19 super().__init__(parent=parent, showHeader=False)
20 self._set_param()
21 self.setParameters(self.param, showTop=False)
22
23 def _set_param(self):
24 params = list()
25 params.append({'name': 'q', 'type': 'float', \
26 'limits': (1, float('inf')), 'value': 10, 'default': 10})
27
28
29 ### Create tree of Parameter objects
30 # I don't know why that signals do not work for me
31 # Only sigTreeStateChanged works, but I don't want to struggle with it
32 # May be I'll report the issue
33 #self.param.sigValueChanged.connect(self.param_changed)
34 #self.param.sigValueChanging.connect(self.param_changing)
35 self.param = pg.parametertree.Parameter.create(name='params', type='group', children=params)
36
37 #č branima sa rekurzii
38 #оӵ рекурзилы пезьдэт!
39 self.param_values = self.param.getValues()
40
41 def __getattr__(self, attr):
42 #č na teoreticky možnou rěkurziju vykašleme
43 #оӵ рекурзия уз луы
44 return self.param_values[attr][0]
45
46 def setup_box(self):
47 #č to je důležité! __getatr__ odsaď bere hodnoty
48 self.param_values = self.param.getValues()
49
50 self.box.sample_box = DumbExploration(
51 self.box.sample_box, #č rekurze)
52 q=self.q)
53
54
14 55 class CircumTriWidget(pg.parametertree.ParameterTree): class CircumTriWidget(pg.parametertree.ParameterTree):
15 56 def __init__(self, wt, parent=None): def __init__(self, wt, parent=None):
16 57 self.box = wt self.box = wt
 
... ... class SetupDiceBoxWidget(pg.LayoutWidget):
351 392 #č aby je nám Python nehodil #č aby je nám Python nehodil
352 393 self.tabs = [] self.tabs = []
353 394
395
354 396 box_widget = CircumTriWidget(self.box, self) box_widget = CircumTriWidget(self.box, self)
355 397 self.tab_widget.addTab(box_widget, "CircumTri") self.tab_widget.addTab(box_widget, "CircumTri")
356 398 self.tabs.append(box_widget) self.tabs.append(box_widget)
 
... ... class SetupDiceBoxWidget(pg.LayoutWidget):
365 407 self.tab_widget.addTab(box_widget, "Razitko") self.tab_widget.addTab(box_widget, "Razitko")
366 408 self.tabs.append(box_widget) self.tabs.append(box_widget)
367 409
410 # Add tab
411 box_widget = DumbExplorationWidget(self.box, self)
412 self.tab_widget.addTab(box_widget, "DumbExploration")
413 self.tabs.append(box_widget)
414
368 415 # Add tab # Add tab
369 416 box_widget = DumbDiceBoxWidget(self.box, self) box_widget = DumbDiceBoxWidget(self.box, self)
370 417 self.tab_widget.addTab(box_widget, "Dumb DiceBox") self.tab_widget.addTab(box_widget, "Dumb DiceBox")
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/iam-git/WellMet

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/iam-git/WellMet

Clone this repository using git:
git clone git://git.rocketgit.com/user/iam-git/WellMet

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main