Hello I am using Mathematica code to to generate NPoints of randomly generated points normally distributed around one point on the surface of a sphere using
Return[Table[ RandomVariate[NormalDistribution[phi, width]], {k, 1, NPoints}]]; to find my phi and Return[Table[ RandomVariate[NormalDistribution[theta, width]], {j, 1, NPoints}]]; to find my theta.
There is an issue when I plot the points though. They seem to smear along some direction when distributed around certain thetas and phis. I think the issue is the I need a correction term for projecting my points from a plane onto a sphere but I'm having a lot of trouble finding the term because I find changing coordinate systems difficult.
Any help would be greatly appreciated!