comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Curve Fitting Question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Curve Fitting Question [message #82022 is a reply to message #1309] Mon, 12 November 2012 15:51 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Monday, November 12, 2012 5:56:03 PM UTC-5, Coyote wrote:
> 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!

How noisy are the peak and non-peak regions of your histogram in the potential worst case? If the noise in non-peak regions can never be as high as the peaks, I probably wouldn't fit it. I would probably walk in from the left and right sides one bin at a time until you find a local max in each case.

Craig
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Dimensional confusion
Next Topic: Re: Dimensional confusion

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:52:06 PDT 2025

Total time taken to generate the page: 0.00256 seconds