I have an example of fitting distributions to bus arrival times using
'R' that may be helpful. I wanted to calculate the latest time I could
arrive at the bus stop and have a better than 95% chance of catching
the bus. I tend to use R and Scipy whereever each is strongest.
http://www.oplnk.net/~aj
I have been working on a similar problem related to finance. What I
have done is call the "R" statistical software from Python and then use
matplotlib for graphing within Python
I use Python2.4, the "R" statistical package, and a Python package
called rpy which interfaces to "R" from Python
Hi Adrian, if you need low level access there is a python wrapper of the
MINUIT and MINUIT2 fitting libraries :
http://code.google.com/p/pyminuit/ and http://code.google.com/p/pyminuit2/
It is targeted primarily toward High Energy Physics people, most of whom
are familiar with the MINUIT library
You might get a good answer here (although I don't have it), but be
aware that your question relates to math, not plotting, so it is not
really a matplotlib question. You need nonlinear least-squares. Look
in scipy, and try the amazing Google.
Eric
Adrian Price-Whelan wrote:
> Hey guys -
>
Hey guys -
I'm working on a Histogram of pixel values from an astronomical image
that looks like a Gaussian curve and then polynomial decay. I'm
trying to figure out a way to fit a Gaussian regression to the
histogram, but can't find any documentation on this. thanks!
-adrian