Gpufit icon indicating copy to clipboard operation
Gpufit copied to clipboard

Best debug strategy

Open sorenchr2011 opened this issue 3 years ago • 1 comments

Hi, Thanks for the great documentation and making this open! I am implementing a custom function and it compiles and is callable. I always have my input parameters returned and it runs just for 1 iteration with a "0" return state. Chi-square is large. How do I best trouble shoot this? CPUfit and call from C++? Or is there a simpler way to try to locate the point(s) of error. Thanks! Soren

sorenchr2011 avatar Jul 03 '22 18:07 sorenchr2011

Hi,

Sorry for the late response. Yes, debugging is going to be easiest in Cpufit, and this will let you test whether your expressions for the fit functions and derivatives are correct, etc.

cheers

superchromix avatar Oct 09 '22 13:10 superchromix