CEF fitting program

I am running CEF fit and I think that there is a bug on the fitting program.

I would like to tie all the sigma of the Gaussian that fit the CEF peaks but they cannot be fixed – when I run the fit they come out with much larger values than what I give as fixed and this does not allow me to fit the data.

This is the line of the command I am using:

cf.peaks.tieAll(‘Sigma={}’.format(0.028/2.35), 0, 20)
fit = CrystalFieldFit(Model=cf, InputWorkspace=‘LET36363_1.05meV_q_line’,MaxIterations=10)
fit.fit()

Thank you

Tatiana

Hi Tatiana,

I’ve had a look at this problem and its not immediately obvious what is wrong. I’ve raised an issue for this to be fixed: Ties not working in Crystal Field fitting · Issue #27748 · mantidproject/mantid · GitHub

Hi Daniel, thank you.

There might a problem in the fixing of the elastic line intensity – but even without that it does not work.

Please let me know when there is any progress.

Thank you

Tatiana

Hi Tatiana,
The fix for this issue has been merged. So this problem should be solved in the next Nightly build, and in the Beta testing version of Mantid next week.