Spaces:
Runtime error
Runtime error
Commit
·
6f7091f
1
Parent(s):
38ce66e
Update fish_length.py
Browse files
lib/fish_eye/fish_length.py
CHANGED
@@ -10,11 +10,6 @@ class Fish_Length:
|
|
10 |
|
11 |
@staticmethod
|
12 |
def quantile_length(tracks, constant, aux=-1):
|
13 |
-
track = tracks[0]
|
14 |
-
print(track[2] - track[0])
|
15 |
-
print(np.quantile(track[2] - track[0], aux))
|
16 |
-
print(np.quantile(track[2] - track[0], aux)*constant)
|
17 |
-
print(constant)
|
18 |
return [np.quantile(track[2] - track[0], aux)*constant for track in tracks]
|
19 |
|
20 |
@staticmethod
|
|
|
10 |
|
11 |
@staticmethod
|
12 |
def quantile_length(tracks, constant, aux=-1):
|
|
|
|
|
|
|
|
|
|
|
13 |
return [np.quantile(track[2] - track[0], aux)*constant for track in tracks]
|
14 |
|
15 |
@staticmethod
|