comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » faster minimization needed - maybe mpfit?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
faster minimization needed - maybe mpfit? [message #79653] Mon, 26 March 2012 06:15 Go to previous message
rogass is currently offline  rogass
Messages: 200
Registered: April 2008
Senior Member
Hi folks,
the following expression runs successfully with AMOEBA but requires
for large matrices (columns < 512, rows up to 30000), for small
tolerances (e.g. ftol=1e-06) and a high number of iterations
(nmax>=10000) to converge years:

expr = total(abs(convol(im-rebin(p[*],size(im,/dim),/samp),
[-1.,0.,1.])))

where p is the parameter vector (one row) to be found and im is the
matrix.

Is there a way to do it faster? Maybe with mpfit (I don't get an idea
how...)

Thanks for any help

CR
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Cellular automata
Next Topic: IDL and PV wave language free

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 14:07:35 PDT 2025

Total time taken to generate the page: 0.00229 seconds