New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fitting with anything else than Lev-Mar returns error #94

paulmueller opened this Issue Mar 11, 2015 · 0 comments


None yet
1 participant

paulmueller commented Mar 11, 2015

Traceback (most recent call last):
  File "pycorrfit/", line 494, in Fit_function
  File "pycorrfit/", line 374, in minimize
    args=([self.x]), full_output=1)
  File "/usr/lib/python2.7/dist-packages/scipy/optimize/", line 777, in fmin_bfgs
    res = _minimize_bfgs(f, x0, args, fprime, callback=callback, **opts)
  File "/usr/lib/python2.7/dist-packages/scipy/optimize/", line 832, in _minimize_bfgs
    gfk = myfprime(x0)
  File "/usr/lib/python2.7/dist-packages/scipy/optimize/", line 281, in function_wrapper
    return function(*(wrapper_args + args))
  File "/usr/lib/python2.7/dist-packages/scipy/optimize/", line 604, in approx_fprime
    f0 = f(*((xk,) + args))
  File "/usr/lib/python2.7/dist-packages/scipy/optimize/", line 281, in function_wrapper
    return function(*(wrapper_args + args))
TypeError: can only concatenate tuple (not "list") to tuple

paulmueller pushed a commit that referenced this issue Sep 30, 2015

Paul Müller
fit with other algorithm than Lev-Mar (close #94)
Former-commit-id: 29becc7e7cdd52045c71025ba3ba632b8ac908e5 [formerly 604e81b8622304c457ae255ac4f8863596689b23] [formerly 3577766aeb255fd159c5db61e9f87198706ecf5e [formerly 43253e10602e94f06d65df163c810467afaa4ae8]] [formerly 5ccc5b6e148092ca8bf2eeb4a06b9a9251e21685 [formerly 9e0b62afd21bb8de6d4dea4371581fe7dd535e71] [formerly a8fd62948b73c71a5ebbc1747e9d85b8307ad67f [formerly 4e0ae98]]]
Former-commit-id: c3481ae058409cfe7604de7d00f25c5f352247de [formerly d265fc6f693756e01fd22ed6e3cfc83a41597333] [formerly b9e4b884b8a8d5c2cdf9b11060afbde80f6073cd [formerly 8587c6ad3c76af003ee3e4347f21bbca1a8eda4c]]
Former-commit-id: 53b16ea1fe2a3e7b2184d9b947128febac569b0b [formerly fbf5968fc3e7255a3adb6ef59c35c6605f42f362]
Former-commit-id: 257caf187b218a7d5b7710c443b1a8264face509
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment