def _to_scipy_BSpline(self, coefs):
    knots = np.concatenate((np.repeat(self.knots[0], (self.order - 1)), self.knots, np.repeat(self.knots[(- 1)], (self.order - 1))))
    return SciBSpline(knots, coefs, (self.order - 1))
def _to_scipy_BSpline(self, coefs):
    knots = np.concatenate((np.repeat(self.knots[0], (self.order - 1)), self.knots, np.repeat(self.knots[(- 1)], (self.order - 1))))
    return SciBSpline(knots, coefs, (self.order - 1))