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

Home » Public Forums » archive » Re: Radial sampling
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: Radial sampling [message #39668] Tue, 08 June 2004 08:58
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
"Tim" <tjvy2@cam.ac.uk> wrote in message news:ca4lbk$5gj$1@pegasus.csx.cam.ac.uk...
> Dear all,
>
> I wish to sample an array with three dimensions radially, in complete
> 'shells' from the central point of the array. Is the best way to do this
> based on a 3D version of DIST?
>
> Thanks,
>
> Tim


Offhand I'd perhaps create an array of distances,
just an sqrt(x^2+y^2+z^2 ), then histogram that
and use the reverese_indices to parse them into shells.
The binsize keyword would set you shell thickness.


Cheers,
bob
[Message index]
 
Read Message
Previous Topic: Radial sampling
Next Topic: Re: Moving, Copying, Renaming Files using IDL

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

Current Time: Wed Dec 03 11:21:26 PST 2025

Total time taken to generate the page: 0.00230 seconds