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

Home » Public Forums » archive » NAN Problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
NAN Problem [message #69403] Wed, 13 January 2010 12:23
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

Consider this sequence of commands on my IDL 7.0.1
LINUX version.

IDL> a = Findgen(11)
IDL> a[0] = !Values.F_NAN
IDL> Print, Min(a), Max(a)
NaN NaN
IDL> b = Findgen(11)
IDL> b[1] = !Values.F_NAN
IDL> Print, Min(b), Max(b)
0.00000 10.00000

What do you make of that? This is giving me a great
deal of touble today while trying to elminate bad
values from an image. :-(

I have the same results with my Windows IDL 7.1.2
version, except I do get a warning about a floating
illegal operand with variable b, which I don't get
on LINUX.

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thue. ("Perhaps thos speakest truth.")
[Message index]
 
Read Message
Previous Topic: Finite element magnetic field analysis
Next Topic: NaN problems

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

Current Time: Wed Oct 08 15:35:06 PDT 2025

Total time taken to generate the page: 0.00429 seconds