pyupgrade --py37-plus **/*.py (#1654)

* pyupgrade --py37-plus **/*.py

* fixup! Format Python code with psf/black push
This commit is contained in:
Christian Clauss
2020-01-03 15:25:36 +01:00
committed by John Law
parent 34c808b375
commit 28419cf839
77 changed files with 71 additions and 128 deletions

View File

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
Created on Fri Sep 28 15:22:29 2018

View File

@ -389,10 +389,7 @@ class IndexCalculation:
:return: index
"""
return np.arctan(
(
((2 * self.red - self.green - self.blue) / 30.5)
* (self.green - self.blue)
)
((2 * self.red - self.green - self.blue) / 30.5) * (self.green - self.blue)
)
def IVI(self, a=None, b=None):