Closed jakobjakobson13 closed 5 years ago
The warning indicates that the autophase algorithm is not converging in a reasonable amount of time. I do not know enough about the routine to debug this.
Okay, no problem. Should I close the bug report then?
This seems like an edge case.
The current autops
function does not give user acess to maxiter
and maxfev
args for the scipy.optimize.fmin
function, and so by default, these are set to 2*200. Currently acme
seems to converge in about 350 function evaluations on my computer on this dataset, and thats significantly short of the maximum, but its possible that a different version of scipy/numpy/python will push this over to 400 at which point it will fail. I did manage to make it fail once, but can't seem to repeat that. Changing the start value of p0 helps, and so does the post_proc=True
method for digital filter removal (#24, #67) to start with a flat basline. This maybe a good time to revisit #48 and make many of these options available.
Dear Jonathan,
i tried your example for the automatic phase correction algorithms. However the automatic phasing with the
acme
functiondoes not work due to the following error message:
Warning: Maximum number of function evaluations has been exceeded.
The
peak_minima
does work fine. So, regardless of this bug in the acme function: Thanks a lot for this package.Regards
Jakob