def points(self): if self.point1 is None or self.point2 is None: raise NotImplementedError('You need shouldn\'t instance this ' \ 'class directly') k = self.y[-1] y1 = (float(self.point1)/100) * k y2 = (float(self.point2)/100) * k t1 = get_time_near(self.t, self.y, y1) t2 = get_time_near(self.t, self.y, y2) return (t1, y1), (t2, y2)
def points(self): if self.point1 is None or self.point2 is None: raise NotImplementedError('You need shouldn\'t instance this ' \ 'class directly') k = self.y[-1] y1 = (float(self.point1) / 100) * k y2 = (float(self.point2) / 100) * k t1 = get_time_near(self.t, self.y, y1) t2 = get_time_near(self.t, self.y, y2) return (t1, y1), (t2, y2)
def points(self): k = self.y[-1] y3 = (float(self.point3)/100) * k t3 = get_time_near(self.t, self.y, y3) a, b = IdentificationMethod.points(self) return a, b, (t3, y3)
def points(self): k = self.y[-1] y3 = (float(self.point3) / 100) * k t3 = get_time_near(self.t, self.y, y3) a, b = IdentificationMethod.points(self) return a, b, (t3, y3)