summaryrefslogtreecommitdiff
path: root/utils/raspberrypi/ctt/ctt_geq.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-02 03:32:00 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-13 16:57:30 +0300
commitda88fcec0d4930bbcec0a44f678f744bfa5334b8 (patch)
treee4c1c9315b4a9ddb1ba6996345918ec7e44df050 /utils/raspberrypi/ctt/ctt_geq.py
parent93a133fb17ea6997a42e9d7f07e3c7785abc7d14 (diff)
utils: raspberrypi: ctt: Fix pycodestyle E201 and E202
E201 whitespace after '(' E201 whitespace after '{' E201 whitespace after '[' E202 whitespace before '}' E202 whitespace before ']' Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Diffstat (limited to 'utils/raspberrypi/ctt/ctt_geq.py')
-rw-r--r--utils/raspberrypi/ctt/ctt_geq.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/raspberrypi/ctt/ctt_geq.py b/utils/raspberrypi/ctt/ctt_geq.py
index f8395e43..17598640 100644
--- a/utils/raspberrypi/ctt/ctt_geq.py
+++ b/utils/raspberrypi/ctt/ctt_geq.py
@@ -20,7 +20,7 @@ def geq_fit(Cam, plot):
Fits geq model by looking at difference
between greens in macbeth patches
"""
- geqs = np.array([ geq(Cam, Img)*Img.againQ8_norm for Img in imgs ])
+ geqs = np.array([geq(Cam, Img)*Img.againQ8_norm for Img in imgs])
Cam.log += '\nProcessed all images'
geqs = geqs.reshape((-1, 2))
"""