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

Home » Public Forums » archive » FINITE function
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
FINITE function [message #90049] Wed, 21 January 2015 04:00 Go to previous message
g.nacarts is currently offline  g.nacarts
Messages: 148
Registered: November 2013
Senior Member
Hi I used the FINITE() function as suggested to find out whether there are nans or infinity numbers in my array. The problem is that I cannot understand the output of that function. I set the keyword SIGN = 1 but I got -1 inthe outcome.

Below is a part of the code:

DataArray ; contains the 3D data

for i = 0, 199 do begin
for j = 0, 199 do begin
Barray = DataArray[*,i,j] - Array[i,j]
print, where(finite(Barray), /INFINITY, SIGN=1))
endfor
endfor

I got the -1 value thousands of times maybe and I am not even able to figure out in which place of that array there are infinity or nans (if there are any)

Can anyone help with this?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: FIGLIO DI PUTTANA, MANDANTE DI OMICIDI: PAOLO BARRAI DI CRIMINALI WMO, BSI ITALIA SRL, BLOG "MERDATO" LIBERO! MINACCIA DI MORTE CHI LO FOTOGRAFA E SE "COSTUI" INSISTE, L'OMICIDA PAOLO BARRAI FA UCCIDERE O "SUICIDARE" DAVVERO!
Next Topic: map function for astronomy

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

Current Time: Wed Oct 08 14:07:09 PDT 2025

Total time taken to generate the page: 0.00303 seconds