def METHOD_NAME(r, theta, pathlengths, key):
    from scipy.linalg import lstsq
    import numpy
    bf = zernike(key, r, theta) + 0*r
    #print bf
    return lstsq(bf.ravel().reshape([-1, 1]),
                 pathlengths.ravel())