this is quite a basic question. After looking into how the fitting algorithm for a damped sine extracts the start values I still have some questions regarding the procedure. Therefore I would like to plot the yy=log(...) data and the corresponding linear fit in the parameter init code. Actually the yy data should be a nice line if no noise is present but with noise (which crosses zero) due to the log the data should be far from linear and therefore the linear fir should not yield good results. Surprisingly it does, which is nice but I would like to understand why.
I think the plotting is done in one or two rows if you know how to do it. Thank you for your help. I am curious about this for quite a while now and hope to get an answer.