def chebyshev16cost(trial, M=61): """The costfunction for order-n Chebyshev fitting. M evaluation points between [-1, 1], and two end points""" from mystic.models._model_helper import chebyshev, chebyshev16coeffs return chebyshev(trial, chebyshev16coeffs, M)
def chebyshevcost(trial,M=61): """The costfunction for order-n Chebyshev fitting. M evaluation points between [-1, 1], and two end points""" from mystic.models._model_helper import chebyshev return chebyshev(trial, target, M)