mirror of
https://github.com/shizand/statapp.git
synced 2025-10-08 05:03:27 +03:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
d71bd9843f | ||
c1809a0bc7 | |||
|
83d9faeb85 | ||
57dec07000 |
14
CHANGELOG.md
14
CHANGELOG.md
@@ -1,5 +1,19 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [0.3.5](https://github.com/shizand/statapp/compare/v0.3.4...v0.3.5) (2023-09-28)
|
||||||
|
|
||||||
|
|
||||||
|
### Исправления
|
||||||
|
|
||||||
|
* исправлен выбор файла для загрузки (Linux) ([c1809a0](https://github.com/shizand/statapp/commit/c1809a0bc778fde52aa392fb6656b0fd2ffeabe5))
|
||||||
|
|
||||||
|
## [0.3.4](https://github.com/shizand/statapp/compare/v0.3.3...v0.3.4) (2023-09-28)
|
||||||
|
|
||||||
|
|
||||||
|
### Исправления
|
||||||
|
|
||||||
|
* исправлена ошибка, при СКО = 0 для фактора ([57dec07](https://github.com/shizand/statapp/commit/57dec07000e78d694986b1b90de42b84db14c1a7))
|
||||||
|
|
||||||
## [0.3.3](https://github.com/shizand/statapp/compare/v0.3.2...v0.3.3) (2023-09-28)
|
## [0.3.3](https://github.com/shizand/statapp/compare/v0.3.2...v0.3.3) (2023-09-28)
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "statapp"
|
name = "statapp"
|
||||||
version = "0.3.3"
|
version = "0.3.5"
|
||||||
description = ""
|
description = ""
|
||||||
authors = [
|
authors = [
|
||||||
"Maxim Slipenko <statapp@maks1ms.addy.io>"
|
"Maxim Slipenko <statapp@maks1ms.addy.io>"
|
||||||
|
@@ -88,6 +88,8 @@ class MainWindow(QMainWindow):
|
|||||||
k = 2 - 1 / k
|
k = 2 - 1 / k
|
||||||
if gfw.typeConnection == INDIRECT_LINK:
|
if gfw.typeConnection == INDIRECT_LINK:
|
||||||
k = 1 / k
|
k = 1 / k
|
||||||
|
if gfw.deviation == 0:
|
||||||
|
k = 1
|
||||||
|
|
||||||
x = np.random.normal(gfw.mat * (k ** 3), gfw.deviation * k, size=1)
|
x = np.random.normal(gfw.mat * (k ** 3), gfw.deviation * k, size=1)
|
||||||
x_arr = np.append(x_arr, x)
|
x_arr = np.append(x_arr, x)
|
||||||
|
@@ -16,7 +16,7 @@ class FileSLCModel:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def loadFile(self):
|
def loadFile(self):
|
||||||
self.file_name, _ = QFileDialog.getOpenFileName(None, "Загрузить файл", "", "Files (*.txt;*.csv)")
|
self.file_name, _ = QFileDialog.getOpenFileName(None, "Загрузить файл", "", "Files (*.txt *.csv)")
|
||||||
if self.file_name:
|
if self.file_name:
|
||||||
try:
|
try:
|
||||||
content = np.genfromtxt(self.file_name, delimiter=',', invalid_raise=True)
|
content = np.genfromtxt(self.file_name, delimiter=',', invalid_raise=True)
|
||||||
|
Reference in New Issue
Block a user