utils: raspberrypi: ctt: Fix pycodestyle E251
E251 unexpected spaces around keyword / parameter equals 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
6eb1bce9c7
commit
965cae72a7
6 changed files with 9 additions and 9 deletions
|
@ -27,7 +27,7 @@ def geq_fit(Cam, plot):
|
|||
data is sorted by green difference and top half is selected since higher
|
||||
green difference data define the decision boundary.
|
||||
"""
|
||||
geqs = np.array(sorted(geqs, key = lambda r: np.abs((r[1]-r[0])/r[0])))
|
||||
geqs = np.array(sorted(geqs, key=lambda r: np.abs((r[1]-r[0])/r[0])))
|
||||
|
||||
length = len(geqs)
|
||||
g0 = geqs[length//2:, 0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue