Update roi.py
This commit is contained in:
parent
e72343e7a3
commit
fa818e9bf7
@ -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
|
||||
return modified
|
||||
|
Loading…
Reference in New Issue
Block a user