Radial profile from a Cartesian plot

1.7k Views Asked by At

I'd like to calculate a radial profile of a 2D Gaussian.

2D-Plot

it should be a half of a Gaussian, maximum of about 3000 at $R=0$.

If I plot radial positions $\left(\sqrt{x^2+y^2} \right)$ of every point, i get second distribution:

rad-uncorrelated

Is weighting with $\tfrac{1}{R}$ correct (picture below)? Should it also be weighted with integral area of the initial Gaussian?

rad-cor