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

Home » Public Forums » archive » Re: rebin and !values.f_nan
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: rebin and !values.f_nan [message #54881 is a reply to message #54880] Sun, 15 July 2007 18:59 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
kuyper writes:

> I haven't had to do this with IDL, so I didn't realize that IDL
> handled it inconveniently. What I would normally want to have happen
> when re-binning data with NaNs is that every element of the output
> array whose calculation involved one of the NaN's in the input array
> would itself contain a NaN, while all the other elements of the array
> would be calculated normally. That's not something that could be
> achieved by the approach you suggest. If that's a feature not already
> provided as an option by rebin, it should be.

In my little experiment, that is *exactly* how it
worked. And how I would have expected it to work, too.
How could IDL do anything else and not be accused of
"created data where none exists."

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: rebin and !values.f_nan
Next Topic: for loops for total newbies

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

Current Time: Fri Oct 10 13:03:58 PDT 2025

Total time taken to generate the page: 0.48614 seconds