Constant peak area

39 views
Skip to first unread message

irodri...@gmail.com

unread,
Aug 15, 2020, 12:27:36 AM8/15/20
to fityk-users

Is it possible to hold the peak area constant while fitting?
Thanks!

Alexander Selyutin

unread,
Aug 15, 2020, 6:34:39 AM8/15/20
to fityk...@googlegroups.com
it's possible if you know how to parameterize your area by hwhm and center.

dirty example with Gaussian
insert to command line
define Daussian(height, center) = height*exp(-ln(2)*((x-center)/(84/height))^2)
for comparison Gaussian(height, center, hwhm) = height*exp(-ln(2)*((x-center)/hwhm)^2) 
it will create gaussian function in peaks choice with area ~170

сб, 15 авг. 2020 г. в 11:27, irodri...@gmail.com <irodri...@gmail.com>:

Is it possible to hold the peak area constant while fitting?
Thanks!

--
http://groups.google.com/group/fityk-users
---
You received this message because you are subscribed to the Google Groups "fityk-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fityk-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fityk-users/fca90d36-1341-4b8e-974e-73fb0b14abd5n%40googlegroups.com.


--
Regards,
Alexander Selyutin

Marcin Wojdyr

unread,
Aug 15, 2020, 8:14:39 AM8/15/20
to fityk...@googlegroups.com
If you use peaks parametrized with the area instead of height
(GaussianA, Pearson7A, etc - most of peak types have a variant with
'A') you may "lock" the area by clicking the button with padlock.
Reply all
Reply to author
Forward
0 new messages