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

Home » Public Forums » archive » Re: PSF Energy inside circle
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: PSF Energy inside circle [message #61751 is a reply to message #61708] Tue, 29 July 2008 08:38 Go to previous messageGo to previous message
Bob[3] is currently offline  Bob[3]
Messages: 60
Registered: December 2006
Member
On Jul 25, 1:18 pm, "Kenneth P. Bowman" <k-bow...@null.edu> wrote:
> In article
> < 808314ce-4419-478d-8593-bc94dd7f1...@p25g2000hsf.googlegroup s.com >,
>  Bob Crawford <Snowma...@gmail.com> wrote:
>
>> Is there an advantage of using this method to determine d over using
>> DIST?
>
> DIST computes a different function.
>
> !P.MULTI = [0, 2, 1]
> x  = FINDGEN(51)
> xx = REBIN(x, 51, 51)
> yy = REBIN(REFORM(x, 1, 51), 51, 51)
> d  = SQRT((xx - 25.0)^2 + (yy - 25.0)^2)
> SURFACE, d
> SURFACE, DIST(51)
>
> The Euclidian distance is a circular cone.  DIST computes an
> array proportional to the frequency of each element.
>
> Ken Bowman

Thank you - but I was referring to the simplified situation as
described in this post:
http://groups.google.ca/group/comp.lang.idl-pvwave/browse_th read/thread/69b7be558f84e5be/2c185f37b1f50503?hl=en&lnk= gst#2c185f37b1f50503

i.e. replace:
SURFACE, DIST(51)

with:
SURFACE, SHIFT(DIST(51),25,25)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: plot stddev bars for each data point
Next Topic: Re: Newbie question concerning summations/loops in IDL

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

Current Time: Wed Oct 08 20:05:13 PDT 2025

Total time taken to generate the page: 0.01834 seconds