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

Home » Public Forums » archive » learning how to use mpfit,. need help
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: learning how to use mpfit,. need help [message #87748 is a reply to message #87740] Tue, 25 February 2014 20:13 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Tuesday, February 25, 2014 4:35:53 PM UTC-5, alk...@gmail.com wrote:
> IDL> y = 25.*exp(-(x-32.)^2/(2*5.^2))+2.*randomn(0,101)
> % Program caused arithmetic error: Floating underflow

Floating underflow is almost never an error. It's just warning you that exp(-large_number) far from the centroid of the gaussian, has truncated precision or is being set to zero. Plot your data and you will see it's fine.

Craig
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Using a text list to populate a LIST() in IDL
Next Topic: ps_start output

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

Current Time: Fri Nov 28 08:45:02 PST 2025

Total time taken to generate the page: 0.01544 seconds