Re: Converting spherical to elliptical distribution Bradley Lucier 17 Jul 2020 18:00 UTC

I think you're right to be concerned.  I googled "random points on an
ellipse".  Among the results were

https://codereview.stackexchange.com/questions/243590/generate-random-points-on-perimeter-of-ellipse/243697?noredirect=1#comment478326_243697

and the first answer here gives the correct solution (using incomplete
elliptic integrals):

https://stackoverflow.com/questions/6972331/how-can-i-generate-a-set-of-points-evenly-distributed-along-the-perimeter-of-an

the code is in Python and uses libraries that are not trivial.

Brad

On 7/16/20 4:14 PM, Arvydas Silanskas wrote:
> Yes, that's how I'm picturing implementing it. But what I'm not sure of
> is the quality of spacing between the points. Maybe unneededly, if you
> say it's ok then it's ok, I just want to confirm you understand my
> question. I attach a picture of my concern.
>
> 2020-07-16, kt, 21:33 Lucier, Bradley J <xxxxxx@purdue.edu
> <mailto:xxxxxx@purdue.edu>> rašė:
>
>     Sorry, you meant standard deviation, not variance.
>
>      > On Jul 16, 2020, at 2:28 PM, Lucier, Bradley J <xxxxxx@purdue.edu
>     <mailto:xxxxxx@purdue.edu>> wrote:
>      >
>      > I think you mean sqrt(A), etc. Brad
>      >
>      >> On Jul 16, 2020, at 2:14 PM, Linas Vepstas
>     <xxxxxx@gmail.com <mailto:xxxxxx@gmail.com>> wrote:
>      >>
>      >> So, if the ellipse major axis lengths are A,B,C... then generate
>     X,Y,Z with widths A,B,C..
>