fix: Исправил "tesla summary time"

This commit is contained in:
Andrew 2024-12-05 14:10:59 +03:00
parent 6a244afadd
commit 4a32be89be
7 changed files with 16 additions and 28 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@
/venv
*.txt
*.svg
/test.py

View File

@ -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.

View File

@ -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.