SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: Johann Cohen-T. <co...@sl...> - 2007年12月23日 05:03:48
hi jessica,
This FittingData tutorial is very nice. Could you illustrate how to 
fix/thaw parameters?
I did not find any such attribute and when I try some kludges they fail 
with a msg saying
<type 'exceptions.ValueError'>: shape mismatch: objects cannot be 
broadcast to a single shape
thanks,
Johann
From: Jessica Lu <jl...@as...> - 2007年12月26日 18:25:43
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 did not find any such attribute and when I try some kludges they 
> fail
> with a msg saying
> <type 'exceptions.ValueError'>: shape mismatch: objects cannot be
> broadcast to a single shape
>
>
> thanks,
> Johann
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: william r. <wil...@gm...> - 2007年12月26日 19:19:21
Is there a new version of this which uses numpy instead of Numeric? I found
the old Numeric version to work very well.
cheers,
William
On Dec 26, 2007 12:58 PM, Jessica Lu <jl...@as...> 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-Tanugi wrote:
>
> > hi jessica,
> > This FittingData tutorial is very nice. Could you illustrate how to
> > fix/thaw parameters?
> > I did not find any such attribute and when I try some kludges they
> > fail
> > with a msg saying
> > <type 'exceptions.ValueError'>: shape mismatch: objects cannot be
> > broadcast to a single shape
> >
> >
> > thanks,
> > Johann
> >
> > ----------------------------------------------------------------------
> > ---
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Matplotlib-users mailing list
> > Mat...@li...
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> >
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Johann Cohen-T. <co...@sl...> - 2007年12月26日 23:59:57
hi jessica, thanks.... So scipy.optmizer as it stands cannot do that? I 
gues I should move the issue to the scipy list then. Yes there is mpfit, 
there is also pyminuit in google.code that is wrapper of the high energy 
physics standard package MINUIT, etc.... but I would think that fitting 
data, with fixed/thawed parameters, is a basic feature of a scientific 
package. As there seems to be a snergy between matplotlib and scipy, 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-Tanugi wrote:
>
>> hi jessica,
>> This FittingData tutorial is very nice. Could you illustrate how to
>> fix/thaw parameters?
>> I did not find any such attribute and when I try some kludges they fail
>> with a msg saying
>> <type 'exceptions.ValueError'>: shape mismatch: objects cannot be
>> broadcast to a single shape
>>
>>
>> thanks,
>> Johann
>>
>> ------------------------------------------------------------------------- 
>>
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2005.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Matplotlib-users mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>
From: Jessica Lu <jl...@as...> - 2007年12月28日 17:55:10
Hi Johann,
I believe the scipy optimization package gives a variety of 
optimization algorithms but you would have to implement your own 
codes to fix/thaw parameters. That being said, there is a lot there 
and I haven't dug into all of it into detail. I would suggest posting 
a message to the scipy mailing list after the holidays and you may 
get a better response.
Cheers,
Jessica
On Dec 26, 2007, at 3:52 PM, Johann Cohen-Tanugi wrote:
> hi jessica, thanks.... So scipy.optmizer as it stands cannot do 
> that? I gues I should move the issue to the scipy list then. Yes 
> there is mpfit, there is also pyminuit in google.code that is 
> wrapper of the high energy physics standard package MINUIT, etc.... 
> but I would think that fitting data, with fixed/thawed parameters, 
> is a basic feature of a scientific package. As there seems to be a 
> snergy between matplotlib and scipy, 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-Tanugi wrote:
>>
>>> hi jessica,
>>> This FittingData tutorial is very nice. Could you illustrate how to
>>> fix/thaw parameters?
>>> I did not find any such attribute and when I try some kludges 
>>> they fail
>>> with a msg saying
>>> <type 'exceptions.ValueError'>: shape mismatch: objects cannot be
>>> broadcast to a single shape
>>>
>>>
>>> thanks,
>>> Johann
>>>
>>> -------------------------------------------------------------------- 
>>> -----
>>> This SF.net email is sponsored by: Microsoft
>>> Defy all challenges. Microsoft(R) Visual Studio 2005.
>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>> _______________________________________________
>>> Matplotlib-users mailing list
>>> Mat...@li...
>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>>
>>
>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /