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

Home » Public Forums » archive » Gradient idl
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: Gradient idl [message #90577 is a reply to message #90561] Wed, 11 March 2015 08:41 Go to previous messageGo to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
> I am interested in the magnitude of the gradient
>
> Result_xy=sqrt(result_x^2 +result_y^2)
> right ?

Yes.

> I looked at the following function but it does not handle missing data

Yes, that code is effectively doing the same thing. It's probably faster because SHIFT is fast compared to CONVOL. But it's definitely easier to get CONVOL to deal with missing data, so in your case I think it would be better.

-Jeremy.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to prevent NaNs
Next Topic: Google Earth Curtain Plot

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

Current Time: Wed Oct 08 17:30:23 PDT 2025

Total time taken to generate the page: 0.00221 seconds