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

Home » Public Forums » archive » gaussfit question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
gaussfit question [message #17552] Fri, 29 October 1999 00:00 Go to previous message
mirko[1] is currently offline  mirko[1]
Messages: 3
Registered: October 1999
Junior Member
Hi!

I have a 2D dataset representing a surface (intensity plot of x-ray
scattering data)
and i like to fit these data with GAUSS2DFIT() function which does not work.
So I tried to fit one line of the dataset wit GAUSSFIT which does not
work either.

This it is confusing to me because other math computer programs
have no problem with this simple curve.
Is there something I have to consider?

Cheers

Mirko

IDL> y=[52.0,52.7,56.0,60.9,65.40,71.40, 75.20,
80.80,86.1,89.8,88.3,94.8,94.9,100.5,100.1,103.9,105.3,106.2 ,107.3,
108.2,106.1,105.7,107.8,102.2,
101.3,97.2,92.1,87.4,87.0,82.5,77.4,69.9,67.7, 62.1, 58.9, 53.4,53.8]
IDL> x=findgen(37)
IDL> yfit=gaussfit(x,y,a)
% Compiled module: GAUSSFIT.
% Compiled module: POLY_FIT.
% Compiled module: CURVEFIT.
% Program caused arithmetic error: Floating underflow
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL 5.2.1 -- bug in filled contours?
Next Topic: plot object

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

Current Time: Thu Oct 09 20:38:45 PDT 2025

Total time taken to generate the page: 1.51815 seconds