get git parameters

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

get git parameters

Jeff Spector
I'm interested in performing a Gaussian fit and then finding the center
of the fit curve. The fitting part all makes snese to me, but how do I
get the parameters from the fit (I'm writing it in a plugin so I'd like
to have the values as int or double and not as srtings like the
.getResults() method does)
thanks,
-jeff
Reply | Threaded
Open this post in threaded view
|

Re: get git parameters

David Hovis
I think you want the double[] getParams() method.

For a gaussian fit, it should return three parameters, peak height,  
peak center and peak width, though I don't know which order they would  
come in.

--David


On Apr 10, 2008, at 1:40 PM, Jeff Spector wrote:

> I'm interested in performing a Gaussian fit and then finding the  
> center of the fit curve. The fitting part all makes snese to me, but  
> how do I get the parameters from the fit (I'm writing it in a plugin  
> so I'd like to have the values as int or double and not as srtings  
> like the .getResults() method does)
> thanks,
> -jeff