Hi I was trying to add some limits to the values the fitting parameters could take using the [:] option.
The following statement makes fityk crash.
%g2S = GaussianA(height=~300, center=75, area=~11174, hwhm=~6.3[0:10])
while the same without the [0:10]
%g2S = GaussianA(height=~300, center=75, area=~11174, hwhm=~6.3)
or without the ~ but keeping the [0:10]
%g2S = GaussianA(height=~300, center=75, area=~11174, hwhm=6.3[0:10])
both work even though there is a complaint on syntax error.
Not sure why, but I guess a good program should NOT be allowed to crash. So this can probably be fixed?
I'm not sure what I'm doing wrong. All I wanted is to have hwhm be allowed to vary in the interval [0:10] and this option is explained in the manual in the section of Domains
I also could not find anything on how to use the domain_percent option. Could somebody show me a working example of both [:] and domain_percent?
Thanks