Problem with Auto-Freeze

23 views
Skip to first unread message

Franek Dzimira

unread,
Jul 21, 2021, 3:18:13 PM7/21/21
to fityk-users
Hi,
I'm quite new to Fityk and problem I have might be quite silly, yet I can't find a way thorugh.
My dataset contain one very high peak and another very small. Therefore, when I'm fitting manually, all I do is:
- guess Lorentzian - fit - activate one region where the small peak is - add a baseline - guess Lorentzian and fit. 
With Auto-Freeze it does work fine - I have both Lorentzians properly fitted.
Yet, writing the very same commands in command window leads me to different result - it looks like the first fit was not frozen automatically and therefore result is very inaccurate.
Is there any command I should write in order to Auto-Freeze to work? Or am I making a mistake somewhere else?

Commands:
@*: guess Lorentzian
@*: fit
@*: A = a and not (1.524 < x and x < 1.5396)
%bg2 = Spline(1.535,29.5)
@*: Y = y - %bg2(x)
@*: guess Lorentzian
@*: fit

Best regards,
Franek

Alexander Selyutin

unread,
Aug 5, 2021, 9:27:05 AM8/5/21
to fityk...@googlegroups.com


чт, 22 июл. 2021 г. в 02:18, Franek Dzimira <fdzi...@gmail.com>:
Hi,
I'm quite new to Fityk and problem I have might be quite silly, yet I can't find a way thorugh.
My dataset contain one very high peak and another very small. Therefore, when I'm fitting manually, all I do is:
- guess Lorentzian - fit - activate one region where the small peak is - add a baseline - guess Lorentzian and fit. 
With Auto-Freeze it does work fine - I have both Lorentzians properly fitted.
 
Hi,
After using GUI fitting try to save your session history by Session -> Save History
Try to run this fit file by fityk and check the result. If it will be as you want review history file

--
Regards,
Alexander Selyutin
Reply all
Reply to author
Forward
0 new messages