Private
Public Access
1
0
This commit is contained in:
2024-05-21 13:18:52 +02:00
parent 793b991c83
commit 1d5aed26cd
2 changed files with 8 additions and 5 deletions

View File

@@ -2177,11 +2177,14 @@ def dataplep(rowdatadf, id=0, inboard=0.88, forceunit='lbs', bands=True, barchar
except TypeError: except TypeError:
f = 0 f = 0
windowsize = 1 windowsize = 1
if f != 0 and not np.isinf(f): try:
try: if f != 0 and not np.isinf(f):
windowsize = 2 * (int(10. / (f))) + 1 try:
except ValueError: windowsize = 2 * (int(10. / (f))) + 1
windowsize = 1 except ValueError:
windowsize = 1
except TypeError:
pass
if windowsize <= 3: if windowsize <= 3:
windowsize = 5 windowsize = 5

Binary file not shown.