From fa818e9bf7b8448adc2a513f9f9b28cf2c07ac59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=C3=B4nio=20C=C3=A2ndido=20de=20Lima=20e=20Silva?= Date: Fri, 4 Mar 2022 08:58:51 -0300 Subject: [PATCH] Update roi.py --- pyFTS/common/transformations/roi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyFTS/common/transformations/roi.py b/pyFTS/common/transformations/roi.py index 293fbf1..6e84497 100644 --- a/pyFTS/common/transformations/roi.py +++ b/pyFTS/common/transformations/roi.py @@ -1,4 +1,5 @@ from pyFTS.common.transformations.transformation import Transformation +import numpy as np class ROI(Transformation): @@ -20,4 +21,4 @@ class ROI(Transformation): def inverse(self, data, param=None, **kwargs): modified = [(param[i - 1] * data[i]) + param[i - 1] for i in np.arange(1, len(data))] - return modified \ No newline at end of file + return modified