Re: [Matplotlib-users] Non-linear Regression to a Histogram

2008-05-12 Thread Alan Jackson
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

Re: [Matplotlib-users] Non-linear Regression to a Histogram

2008-05-11 Thread glenn andrews
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

Re: [Matplotlib-users] Non-linear Regression to a Histogram

2008-05-11 Thread Johann Cohen-Tanugi
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

Re: [Matplotlib-users] Non-linear Regression to a Histogram

2008-05-11 Thread Eric Firing
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 - >

[Matplotlib-users] Non-linear Regression to a Histogram

2008-05-11 Thread Adrian Price-Whelan
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