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

Home » Public Forums » archive » SMOOTH function doesn't replace the values of 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: SMOOTH function doesn't replace the values of NaN [message #90160 is a reply to message #90159] Wed, 04 February 2015 02:42 Go to previous message
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
Hi,

On 04.02.2015 11:37, Madhavan Bomidi wrote:
> I don't see replacement of NaNs with a numerical value

can you provide a use-case? For me it works:

IDL> a = FINDGEN(3,3)
IDL> a[1,1] = !VALUES.F_NAN
IDL> print, smooth(a, 2, /NAN)
0.00000 1.00000 2.00000
3.00000 4.00000 5.00000
6.00000 7.00000 8.00000
[Message index]
 
Read Message
Read Message
Previous Topic: IDL routine to find contiguous groups of pixels falling within an intensity range
Next Topic: Exclusively Interactive Computer Programming with Python

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

Current Time: Wed Oct 08 18:45:27 PDT 2025

Total time taken to generate the page: 0.00171 seconds