Re: Converting spherical to elliptical distribution
Bradley Lucier 17 Jul 2020 18:38 UTC
On 7/17/20 2:26 PM, Linas Vepstas wrote:
> I'm 95% sure that if you just use the gaussian ensemble trick I showed
Is this what you're referring to?
=================================
The sphere distribution is given by (X,Y,Z,..) / sqrt(X*X + Y*Y + Z*Z +
...) where each X Y Z is a gaussian distribution with width=1 and center=0
To get the elliptical distribution, I believe that you need to adjust
the width of the gaussian distribution. So, if the ellipse major axis
lengths are A,B,C... then generate X,Y,Z with widths A,B,C...
=================================
Brad