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

Home » Public Forums » archive » Re: newbie MOMENT 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
Re: newbie MOMENT question [message #6556] Tue, 16 July 1996 00:00 Go to previous message
David Foster is currently offline  David Foster
Messages: 341
Registered: January 1996
Senior Member
demott@denali (Charlotte DeMott) wrote:
>
> Hi,
>
> I want to compute the mean and variance of a set of data points, and
> I'm using the MOMENT procedure to do it. With some fields, the
> variance is quite small (i.e., o(e-03)), so I get floating point
> underflow errors when MOMENT tries to compute the skewness and
> kurtosis. since i don't really care about the skewness and kurtosis,
> how can i get IDL to not worry about this, and continue with the
> rest of the procedure?

Try using

junk = CHECK_MATH( trap=0 )

to disable math traps.

Dave Foster
UCSD Brain Image Analysis Lab
foster@bial1.ucsd.edu
[Message index]
 
Read Message
Read Message
Previous Topic: Re: size (in bytes) of integer, float, double, etc.
Next Topic: PV-WAVE 6.0 import data

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

Current Time: Wed Oct 08 15:07:26 PDT 2025

Total time taken to generate the page: 0.00483 seconds