- minor PEP corrections

This commit is contained in:
Marius Stanciu
2020-10-31 18:46:20 +02:00
committed by Marius Stanciu
parent ffe4f0d641
commit e71a48ff5c
6 changed files with 52 additions and 68 deletions

View File

@@ -71,10 +71,10 @@ class BilinearInterpolation(object):
self.y_length = y_length
self.extrapolate = True
#slopes = self.slopes = []
#for j in range(y_length):
#intervals = zip(x_index, x_index[1:], values[j], values[j][1:])
#slopes.append([(y2 - y1) / (x2 - x1) for x1, x2, y1, y2 in intervals])
# slopes = self.slopes = []
# for j in range(y_length):
# intervals = zip(x_index, x_index[1:], values[j], values[j][1:])
# slopes.append([(y2 - y1) / (x2 - x1) for x1, x2, y1, y2 in intervals])
def __call__(self, x, y):
# local lookups