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>
This commit is contained in:
parent
93a133fb17
commit
da88fcec0d
4 changed files with 23 additions and 23 deletions
|
@ -168,12 +168,12 @@ def do_ccm(r, g, b, m_srgb):
|
||||||
rb_gbs = (rb*gb)
|
rb_gbs = (rb*gb)
|
||||||
gb_2s = (gb*gb)
|
gb_2s = (gb*gb)
|
||||||
|
|
||||||
r_rbs = ( rb * (m_srgb[..., 0] - b) )
|
r_rbs = rb * (m_srgb[..., 0] - b)
|
||||||
r_gbs = ( gb * (m_srgb[..., 0] - b) )
|
r_gbs = gb * (m_srgb[..., 0] - b)
|
||||||
g_rbs = ( rb * (m_srgb[..., 1] - b) )
|
g_rbs = rb * (m_srgb[..., 1] - b)
|
||||||
g_gbs = ( gb * (m_srgb[..., 1] - b) )
|
g_gbs = gb * (m_srgb[..., 1] - b)
|
||||||
b_rbs = ( rb * (m_srgb[..., 2] - b) )
|
b_rbs = rb * (m_srgb[..., 2] - b)
|
||||||
b_gbs = ( gb * (m_srgb[..., 2] - b) )
|
b_gbs = gb * (m_srgb[..., 2] - b)
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Obtain least squares fit
|
Obtain least squares fit
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue