Subject | Hash | Author | Date (UTC) |
---|---|---|---|
qt_plot.Isocurves: bias fix | 7c13581235e8e1bac726381b22db46057d1ac188 | I am | 2020-12-17 14:42:39 |
qt_plot: Isocurves nan check added + simplex error graph committed (as is) | 3b2882661f7af4bb51e518bcd3a37dba6c67f7b2 | I am | 2020-12-17 03:55:44 |
f_models.Nataf: little clean up | d2b0bba458847b7ef42cf68174311847d438bc84 | I am | 2020-12-17 03:19:35 |
qt_plot.Isocurves: dal jsem ty isočáry do pořádku | b7ef4ed093c25f84e581000878d9f2d1b8d686c5 | I am | 2020-12-17 02:16:18 |
qt_plot: Isocurves added (with issues) | b35517b3372f77a6efbeb1a10d6b0e994c7d0082 | Alex | 2020-12-16 10:13:07 |
f_models: .alpha init fix | 5b5a518be135627bc70354be287f0a36c84cb088 | Alex | 2020-12-15 20:55:43 |
f_models.Nataf: prevent from nans in pdfs | a4119069f7fdaf11b794f0623daff3dba8997b82 | Alex | 2020-12-15 08:03:00 |
f_model.Nataf: fixes | 53912fc25e9d048f1ee32039dce32f0b011e470f | Alex | 2020-12-15 06:55:47 |
f_models.Nataf: fixes | 1bc1d5128d60016be0f29e7c18a818c5a5a243af | Alex | 2020-12-15 03:56:15 |
f_models: Nataf model added | 914dc13921a65c4bd197c106e57f430b8adca66d | Alex | 2020-12-15 03:20:47 |
Juniorstav related commit | 31fc92d38d41b7256ba000114237421201af12b9 | Aleksei Gerasimov | 2020-11-27 21:57:44 |
gl_plot: allow grid in any space | 4c66ae078ad1360198738d0c5ea034d56ee1f6d6 | Aleksei Gerasimov | 2020-11-14 13:50:09 |
qt_plot.SimpleSimplexEstimationGraph: zero pf_exact crashfix | 7c1e8b475fea406e1bae16f7a5927fc4633bebda | Aleksei Gerasimov | 2020-11-14 13:35:36 |
qt_plot.SimpleSimplexEstimationGraph: show labels option added to contex menu | d47279afa1e8557f565de75fc6d96fbad60f9e85 | Aleksei Gerasimov | 2020-11-14 11:49:30 |
qt_plot.SimpleSimplexEstimationGraph: LogPlot filling fix | 560fb62533c39e2d1f91070cad0d0d8b11d815b1 | Aleksei Gerasimov | 2020-11-14 10:44:20 |
qt_plot: little improvements | 9ea46d85fc2490c7fcdd29c5418c2068d4887575 | I am | 2020-11-06 04:35:07 |
dicebox.Chrt: nan issues fix | 4fc930a186bc7df6e24d13804c51bb6ccc4b01f1 | I am | 2020-11-06 04:34:20 |
qt_plot.SimpleSimplexEstimationGraph: Log plot fix | 9197230fb1d133ea371485f7a21c8a9aff1a2591 | I am | 2020-11-05 07:50:05 |
qt_plot.SimpleSimplexEstimationGraph: proxy support is ready | 58e1c80eb227cc174aac2e8ecae7e741ce951060 | I am | 2020-11-05 04:47:24 |
qt_plot.SimpleSimplexEstimationGraph: export to excel is enabled | 8590bf8910466f3fa4cac3d013add2688151e96c | I am | 2020-11-05 01:34:38 |
File | Lines added | Lines deleted |
---|---|---|
qt_plot.py | 7 | 7 |
File qt_plot.py changed (mode: 100644) (index 65925b5..b1163f1) | |||
... | ... | class Isocurves: | |
603 | 603 | ||
604 | 604 | self.color = (170, 85, 0) | self.color = (170, 85, 0) |
605 | 605 | self.z_value = 1 | self.z_value = 1 |
606 | self.ngrid = 300 | ||
606 | self.ngrid = 200 | ||
607 | 607 | ||
608 | 608 | def redraw(self): | def redraw(self): |
609 | 609 | self.curves = [] | self.curves = [] |
... | ... | class Isocurves: | |
626 | 626 | self.redraw() | self.redraw() |
627 | 627 | ||
628 | 628 | def grid_scale(self, grid): | def grid_scale(self, grid): |
629 | # scale #č empirika | ||
630 | _grid = grid * (self.max - self.min) / self.ngrid | ||
629 | # scale | ||
630 | _grid = grid * (self.max - self.min) / (self.ngrid-1) | ||
631 | 631 | # loc | # loc |
632 | 632 | _grid = _grid + self.min | _grid = _grid + self.min |
633 | 633 | return _grid | return _grid |
... | ... | class Isocurves: | |
652 | 652 | #č a co je zvykem u těch borců co pracujou s obrázky | #č a co je zvykem u těch borců co pracujou s obrázky |
653 | 653 | #č zkrátka, empiricky - buď zde flipnout a pootočit | #č zkrátka, empiricky - buď zde flipnout a pootočit |
654 | 654 | #č nebo tam dále prohodit souřadnice | #č nebo tam dále prohodit souřadnice |
655 | #č já jsem tu za opičku, | ||
656 | #č to že je to 100% korektní jsem neodvozoval | ||
657 | #č Zůstavá tam malé vychylení (bůhví čím je způsobeno), | ||
658 | #č změnšuje se (doufám) se zvětšením gridu | ||
659 | 655 | data = np.flip(data, axis=0) | data = np.flip(data, axis=0) |
660 | 656 | data = np.rot90(data, k=-1) | data = np.rot90(data, k=-1) |
661 | 657 | ||
... | ... | class Isocurves: | |
674 | 670 | for line in lines: | for line in lines: |
675 | 671 | grid = np.array(line) | grid = np.array(line) |
676 | 672 | #grid = np.flip(grid, axis=1) | #grid = np.flip(grid, axis=1) |
673 | |||
674 | #č tady mám výsledek dvouletého výzkumu | ||
675 | grid = grid - 0.5 | ||
676 | |||
677 | 677 | # scale | # scale |
678 | 678 | grid = self.grid_scale(grid) | grid = self.grid_scale(grid) |
679 | 679 | curve = plot_widget.plot(grid, pen=pen, name=self.name) | curve = plot_widget.plot(grid, pen=pen, name=self.name) |