Rayleigh Distribution Function Code.

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

Rayleigh Distribution Function Code.

AMD123
Dear ImageJ Community,

I would like to fit my data ( using Curve Fitter on ImageJ) to a Rayleigh Distribution function. Does anyone have a Syntax for this function?

Thank you,
Reply | Threaded
Open this post in threaded view
|

Re: Rayleigh Distribution Function Code.

Peter Haub
Hello AMD123

the user-defined function for the Rayleigh distribution in the Curve
Fitter is

y = x/(a*a) * exp(-x*x/2/(a*a))

where a is the parameter to estimate.

Regards,
Peter

On 26.01.2016 01:10, AMD123 wrote:

> Dear ImageJ Community,
>
> I would like to fit my data ( using Curve Fitter on ImageJ) to a Rayleigh
> Distribution function. Does anyone have a Syntax for this function?
>
> Thank you,
>
>
>
> --
> View this message in context: http://imagej.1557.x6.nabble.com/Rayleigh-Distribution-Function-Code-tp5015458.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Rayleigh Distribution Function Code.

AMD123
Thank you Peter!

I will use the built-in Macro:
Fit.doFit(equation, xpoints, ypoints)- Fits the specified equation to the points defined by xpoints, ypoints.

I will use the equation you provided, but I'm not sure about the appropriate values for X and Y !!

Thank you,