originlab

Implementing a Broken Power Law as a fitting function in Origin

巧了我就是萌 提交于 2020-01-11 11:38:08
问题 Good day, I'm trying to use the function builder in origin (OriginLab) to create a new function to fit with, the broken power law (http://en.wikipedia.org/wiki/Power_law#Broken_power_law) So, I think I got the actual function part down. For this I used if(x<xc) y =x^a1; if(x>xc) y = x^(a1-a2)*x^a2; if(x==xc) y = 0; Where xc, a1 and a2 are the parameters. However, I then get to the point where you have to choose a bunch of stuff (parameter ranges, script you run to guess initial values, etc)

Implementing a Broken Power Law as a fitting function in Origin

故事扮演 提交于 2019-12-02 05:56:37
Good day, I'm trying to use the function builder in origin (OriginLab) to create a new function to fit with, the broken power law ( http://en.wikipedia.org/wiki/Power_law#Broken_power_law ) So, I think I got the actual function part down. For this I used if(x<xc) y =x^a1; if(x>xc) y = x^(a1-a2)*x^a2; if(x==xc) y = 0; Where xc, a1 and a2 are the parameters. However, I then get to the point where you have to choose a bunch of stuff (parameter ranges, script you run to guess initial values, etc) and I have no clue what to put in there. Does anyone have some experience with this? Even though the

How can I create a frontend for matplotlib?

痞子三分冷 提交于 2019-11-30 06:41:46
问题 I feel that I should start this question by mentioning that I am a Chemical Engineer and not a trained programmer (but I am willing to learn). I process a lot of spectra, which are essentially ASCII files with x,y coordinates produced by spectrometer specific software. A standard software used for analysis is Origin from Originlab but I find it is not user friendly, it has a lot more functions than I need and it is not free. So I was hoping that there is a way to develop a frontend for