diff options
Diffstat (limited to 'utils/raspberrypi/ctt/ctt_geq.py')
-rw-r--r-- | utils/raspberrypi/ctt/ctt_geq.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/raspberrypi/ctt/ctt_geq.py b/utils/raspberrypi/ctt/ctt_geq.py index 17598640..1ffa4e91 100644 --- a/utils/raspberrypi/ctt/ctt_geq.py +++ b/utils/raspberrypi/ctt/ctt_geq.py @@ -27,7 +27,7 @@ def geq_fit(Cam, plot): data is sorted by green difference and top half is selected since higher green difference data define the decision boundary. """ - geqs = np.array(sorted(geqs, key = lambda r: np.abs((r[1]-r[0])/r[0]))) + geqs = np.array(sorted(geqs, key=lambda r: np.abs((r[1]-r[0])/r[0]))) length = len(geqs) g0 = geqs[length//2:, 0] |