diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-05-02 03:32:00 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-05-13 17:00:07 +0300 |
commit | 2b21c6ac861c5844f9e4535a43a514f979bfd133 (patch) | |
tree | 58345137c25ec7b6a4b13111dd2828ad8ef9c577 /utils/raspberrypi | |
parent | 4939e114b686324f77e02c70aca0402bb13303ea (diff) |
utils: raspberrypi: ctt: Fix pycodestyle E741
E741 ambiguous variable name 'l'
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')
-rwxr-xr-x | utils/raspberrypi/ctt/ctt.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/raspberrypi/ctt/ctt.py b/utils/raspberrypi/ctt/ctt.py index 51800d98..dc805ae3 100755 --- a/utils/raspberrypi/ctt/ctt.py +++ b/utils/raspberrypi/ctt/ctt.py @@ -478,8 +478,8 @@ class Camera: """ take the average of the interquartile """ - l = len(noise_out) - noise_out = np.mean(noise_out[l//4:1+3*l//4], axis=0) + length = len(noise_out) + noise_out = np.mean(noise_out[length//4:1+3*length//4], axis=0) self.log += '\nAverage noise profile: constant = {} '.format(int(noise_out[1])) self.log += 'slope = {:.3f}'.format(noise_out[0]) """ |