, I would expect the latter to
take care of optimization
thanks for the replies,
Johann
Jessica Lu wrote:
Hi Johann,
I would recommend using the python mpfit module:
http://cars9.uchicago.edu/software/python/mpfit.html
Cheers,
Jessica
On Dec 22, 2007, at 8:57 PM, Johann Cohen
Hi Johann,
I would recommend using the python mpfit module:
http://cars9.uchicago.edu/software/python/mpfit.html
Cheers,
Jessica
On Dec 22, 2007, at 8:57 PM, Johann Cohen-Tanugi wrote:
hi jessica,
This FittingData tutorial is very nice. Could you illustrate how to
fix/thaw parameters?
I
Hi,
I just happened to do the same thing two days ago. If you want
uncertainties as well, here is some code that uses scipy.optimize. I
just put up a preliminary example on the scipy wiki:
http://www.scipy.org/Cookbook/FittingData?action=show
Not the cleanest or most sophisticated code in
I usually use the following to make single arrows:
plot([0,1], 'k.')
arr1 = pylab.Arrow(0.5, 0.5, 0.1, 0.0, width=0.02)
fig = pylab.gca()
fig.add_patch(arr1)
If in ipython -pylab you need to savefig or send another command
(e.g. xlabel) or reload/refresh the plot (I can't remember the
Hi,
I just downloaded and installed the latest matplotlib (0.90.1) and
the following problem occurred:
plot([0,1])
scatter([0.5], [0.5])
# Should be one Line2D
print gca().lines
# Should be one RegularPolyCollection
print gca().collections
# Now load a legend:
legend()
# Should be one