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

Home » Public Forums » archive » Re: fitting after rebinning
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: fitting after rebinning [message #57358 is a reply to message #57357] Thu, 06 December 2007 13:21 Go to previous messageGo to previous message
Brian Larsen is currently offline  Brian Larsen
Messages: 270
Registered: June 2006
Senior Member
After running your code I get a curve fit error...
IDL> t1=gauss2dfit(a,p1,/tilt)
% Program caused arithmetic error: Floating divide by 0
% Program caused arithmetic error: Floating underflow
IDL> t2=gauss2dfit(b,p2,/tilt)
% CURVEFIT: Failed to converge- CHISQ increasing without bound.
% Program caused arithmetic error: Floating divide by 0
% Program caused arithmetic error: Floating illegal operand
IDL> t3=gauss2dfit(c,p3,/tilt)
% CURVEFIT: Failed to converge- CHISQ increasing without bound.
% Program caused arithmetic error: Floating divide by 0
% Program caused arithmetic error: Floating illegal operand

Which makes me wonder why it gave an answer at all... if it fails to
converge doesn't that mean that the answer is no good for t2 and t3?

Cheers,


Brian

------------------------------------------------------------ --------------
Brian Larsen
Boston University
Center for Space Physics
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Centered VIEW in PS file using IDLgrClipboard
Next Topic: Problem with ENVIZOOM

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

Current Time: Wed Oct 15 08:04:23 PDT 2025

Total time taken to generate the page: 0.24209 seconds