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>
This commit is contained in:
parent
4939e114b6
commit
2b21c6ac86
1 changed files with 2 additions and 2 deletions
|
@ -478,8 +478,8 @@ class Camera:
|
||||||
"""
|
"""
|
||||||
take the average of the interquartile
|
take the average of the interquartile
|
||||||
"""
|
"""
|
||||||
l = len(noise_out)
|
length = len(noise_out)
|
||||||
noise_out = np.mean(noise_out[l//4:1+3*l//4], axis=0)
|
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 += '\nAverage noise profile: constant = {} '.format(int(noise_out[1]))
|
||||||
self.log += 'slope = {:.3f}'.format(noise_out[0])
|
self.log += 'slope = {:.3f}'.format(noise_out[0])
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue