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

Home » Public Forums » archive » Re: selecting radnom number from 2D array
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: selecting radnom number from 2D array [message #75410 is a reply to message #75409] Thu, 10 March 2011 08:03 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Paolo writes:

> Please do be careful and recognize that a random point
> on a sphere will not have a uniform distribution of latitudes,
> and a set of point with a uniform distribution of latitudes
> will not be uniform on a sphere.
>
> For instance to obtain the following uniform distributions
>
> www.grigis.ch/spherepoints.png
>
> I had to account for that.

Here is more information about points on a sphere:

http://www.idlcoyote.com/code_tips/pts_in_sphere.html

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Merging Postcript files
Next Topic: latitude and longitude form geotiff file

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

Current Time: Fri Oct 10 15:33:39 PDT 2025

Total time taken to generate the page: 1.83809 seconds