summaryrefslogtreecommitdiff
path: root/utils/raspberrypi/ctt/ctt_alsc.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 17:00:13 +0300
commit33c4221e8700e15db55994e510d86225d6cd9ece (patch)
tree19d611a79ec39e3075b15bf90037f73de6370afa /utils/raspberrypi/ctt/ctt_alsc.py
parent2b21c6ac861c5844f9e4535a43a514f979bfd133 (diff)
utils: raspberrypi: ctt: Fix pycodestyle E305
E305 expected 2 blank lines after class or function definition 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_alsc.py')
-rw-r--r--utils/raspberrypi/ctt/ctt_alsc.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/raspberrypi/ctt/ctt_alsc.py b/utils/raspberrypi/ctt/ctt_alsc.py
index b697ed3e..b988f565 100644
--- a/utils/raspberrypi/ctt/ctt_alsc.py
+++ b/utils/raspberrypi/ctt/ctt_alsc.py
@@ -218,6 +218,7 @@ def get_16x12_grid(chan, dx, dy):
"""
return np.array(grid)
+
"""
obtains sigmas for red and blue, effectively a measure of the 'error'
"""
@@ -257,6 +258,7 @@ def get_sigma(Cam, cal_cr_list, cal_cb_list):
# print(sigma_r, sigma_b)
return sigma_r, sigma_b
+
"""
calculate sigma from two adjacent gain tables
"""