Curve Fitting Question [message #82023] |
Mon, 12 November 2012 14:56 |
DavidF[1]
Messages: 94 Registered: April 2012
|
Member |
|
|
Folks,
I have a data set with two more or less Gaussian peaks in its histogram. I am not overly concerned with the shape of the peaks, or even what their maximum values are. Rather, I am interested in how I might separate these two populations by picking an appropriate threshold between them. Visually, the separation is quite clear, but it appears in a somewhat different location with each data set, thus the need for a programmatic solution.
Although I don't yet know how to do this, it occurs to me that I might be able to use Craig's MPFit program to fit some kind of double Gaussian to the data and look for the low point between the peaks. If anyone knows how to do this, I would be most grateful for pointers. Or, failing that, I would be interested in other IDL solutions to this problem. Thanks!
Cheers,
David
|
|
|