def project_to_sphere(points, center, radius):

    lengths = scipy.spatial.distance.cdist(points, np.array([center]))
    return (points - center) / lengths * radius + center
Test function for delay() 6/6
dataset/ETHPy150Open scipy/scipy/scipy/spatial/_spherical_voronoi.py/project_to_sphere--crossover with--dataset/ETHPy150Open ggventurini/python-deltasigma/deltasigma/tests/test_delay.py/TestDelay.test_delay_6