Compare commits
2 Commits
6a244afadd
...
45de3c76fc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
45de3c76fc | ||
|
|
4a32be89be |
3
.gitignore
vendored
3
.gitignore
vendored
@ -4,4 +4,5 @@
|
||||
/.idea
|
||||
/venv
|
||||
*.txt
|
||||
*.svg
|
||||
*.svg
|
||||
/test.py
|
||||
@ -344,32 +344,19 @@
|
||||
|
||||
],
|
||||
"Tesla summary time": [
|
||||
1.824,
|
||||
0.516,
|
||||
2.160,
|
||||
0.492,
|
||||
2.160,
|
||||
0.636,
|
||||
1.908,
|
||||
0.492,
|
||||
1.788,
|
||||
0.420,
|
||||
1.800,
|
||||
0.540,
|
||||
1.812,
|
||||
0.444,
|
||||
1.884,
|
||||
0.660,
|
||||
1.884,
|
||||
0.521,
|
||||
1.848,
|
||||
0.557,
|
||||
1.848,
|
||||
0.510,
|
||||
1.860,
|
||||
0.510,
|
||||
1.908,
|
||||
0.534,
|
||||
2.34 ,
|
||||
2.652 ,
|
||||
2.796,
|
||||
2.4 ,
|
||||
2.208 ,
|
||||
2.34 ,
|
||||
2.256 ,
|
||||
2.544 ,
|
||||
2.405 ,
|
||||
2.405 ,
|
||||
2.358 ,
|
||||
2.37 ,
|
||||
2.442 ,
|
||||
1.908
|
||||
]
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -46,11 +46,7 @@ class settingsWindow(QWidget):
|
||||
self._num_points.editingFinished.connect(self._expand)
|
||||
|
||||
self._param_table = QTableWidget()
|
||||
self._param_table.setColumnCount(2)
|
||||
self._param_table.setRowCount(len(self._data))
|
||||
for i, (key, items) in enumerate(self._data.items()):
|
||||
self._param_table.setItem(i, 0, QTableWidgetItem(key))
|
||||
self._param_table.setItem(i, 1, QTableWidgetItem(str(items[0])))
|
||||
self._restore()
|
||||
|
||||
layout = QVBoxLayout()
|
||||
header = QLabel(self._name)
|
||||
@ -78,8 +74,8 @@ class settingsWindow(QWidget):
|
||||
|
||||
def _restore(self) -> None:
|
||||
self._param_table.setRowCount(len(self._data))
|
||||
keys = self._data.keys()
|
||||
self._param_table.setColumnCount(len(self._data[keys[0]])+1)
|
||||
key = next(iter(self._data))
|
||||
self._param_table.setColumnCount(len(self._data[key])+1)
|
||||
for i, (key, items) in enumerate(self._data.items()):
|
||||
self._param_table.setColumnCount(len(self._data[key])+1)
|
||||
self._param_table.setItem(i, 0, QTableWidgetItem(key))
|
||||
|
||||
Binary file not shown.
@ -367,7 +367,7 @@ class BasePointPassportFormer:
|
||||
start_idx, finish_idx = self._find_indexes(signal, dataframe)
|
||||
if start_idx[0] > finish_idx[0]:
|
||||
start_idx = np.insert(start_idx, 0, 0)
|
||||
print (start_idx)
|
||||
#print (start_idx)
|
||||
start_list = times.loc[start_idx].tolist()
|
||||
end_list = times.loc[finish_idx].tolist()
|
||||
if len(start_list) - len(end_list) == 1:
|
||||
|
||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user