@staticmethod
def _from_scipy_BSpline(bspline):
    order = bspline.k
    knots = bspline.t
    if (order != 0):
        knots = knots[order:(- order)]
    coefs = bspline.c
    domain_range = [knots[0], knots[(- 1)]]
    return (BSpline(domain_range, order=(order + 1), knots=knots), coefs)
@staticmethod
def _from_scipy_BSpline(bspline):
    order = bspline.k
    knots = bspline.t
    if (order != 0):
        knots = knots[order:(- order)]
    coefs = bspline.c
    domain_range = [knots[0], knots[(- 1)]]
    return (BSpline(domain_range, order=(order + 1), knots=knots), coefs)