Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Rightclick on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Adrian PriceWhelan <pricewhelan@ma...>  20080511 07:12:00

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 
From: Eric Firing <efiring@ha...>  20080511 07:22:51

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 leastsquares. Look in scipy, and try the amazing Google. Eric Adrian PriceWhelan wrote: > 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 
From: Johann CohenTanugi <cohen@sl...>  20080511 18:33:17

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, but it would solve your problem as well. The doc is still lacking in the project, as I do not have much time, so feel free to ask me questions about it or even to send me some files so that I can try out to script the fit on my side (I work in the field of astroparticle physics and astrophysics, so I might even be interested in the context of your problem!) . best, Johann Adrian PriceWhelan wrote: > 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 > >  > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Matplotlibusers mailing list > Matplotlibusers@... > https://lists.sourceforge.net/lists/listinfo/matplotlibusers > 
From: glenn andrews <ga@ag...>  20080511 23:45:34

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 LINKs: http://rpy.sourceforge.net/ http://www.rproject.org/ My tendency is to submit the data to "R" which does the statistical calculations, return the results to Python, and then use Matplotlib to plot. Keep in mind that "R" also has good plotting capabilities and you might just go with that solution. ########################################### Eric Firing wrote: >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 leastsquares. Look >in scipy, and try the amazing Google. > >Eric > >Adrian PriceWhelan wrote: > > >>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 >> >> > > >This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >Don't miss this year's exciting event. There's still time to save $100. >Use priority code J8TL2D2. >http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >_______________________________________________ >Matplotlibusers mailing list >Matplotlibusers@... >https://lists.sourceforge.net/lists/listinfo/matplotlibusers > > > 
From: Alan Jackson <alan@aj...>  20080513 03:08:35

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/~ajackson/software/ http://www.oplnk.net/~ajackson/software/BusStats.R On Sun, 11 May 2008 18:49:58 0500 glenn andrews <ga@...> wrote: > 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 > > LINKs: > http://rpy.sourceforge.net/ > http://www.rproject.org/ > > My tendency is to submit the data to "R" which does the statistical > calculations, return the results to Python, and then use Matplotlib to > plot. Keep in mind that "R" also has good plotting capabilities and you > might just go with that solution. > > > > ########################################### > > > Eric Firing wrote: > > >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 leastsquares. Look > >in scipy, and try the amazing Google. > > > >Eric > > > >Adrian PriceWhelan wrote: > > > > > >>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 > >> > >> > > > > > >This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > >Don't miss this year's exciting event. There's still time to save $100. > >Use priority code J8TL2D2. > >http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > >_______________________________________________ > >Matplotlibusers mailing list > >Matplotlibusers@... > >https://lists.sourceforge.net/lists/listinfo/matplotlibusers > > > > > > > > >  > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Matplotlibusers mailing list > Matplotlibusers@... > https://lists.sourceforge.net/lists/listinfo/matplotlibusers    Alan K. Jackson  To see a World in a Grain of Sand   alan@...  And a Heaven in a Wild Flower,   http://www.ajackson.org  Hold Infinity in the palm of your hand   Houston, Texas  And Eternity in an hour.  Blake   
Sign up for the SourceForge newsletter:
No, thanks