pyElli icon indicating copy to clipboard operation
pyElli copied to clipboard

Support for measurement uncertainties

Open MarJMue opened this issue 3 years ago • 1 comments

While thinking about #93 i got the idea, that it might be usefull to add support for measurement uncertainties. I'm not sure if lmfit / scipy.optimize can use this information ootb, but pint (#91) can and we could combine it with #53.

MarJMue avatar Nov 11 '22 11:11 MarJMue

I think lmfit does support calculating confidence intervals for a fit instead of the error estimates but not really using an uncertainty of the measurement data. I don't know if this can be somehow injected in the minimize function lmfit is using, but other than that we could also do three fits on the mean and edge case data and calculate the uncertainty from this (but well.... not my favourite idea :D). scipy however has a parameter to insert a std dev, at least I used it some time ago.

I think it's a nice feature, because afaik is the measurement uncertainty included in files generated from Woollam instruments

domna avatar Nov 11 '22 20:11 domna