I am trying to compute the integral of a 2D dataset $f_r \, (\theta, \phi)$ where $\theta \in [0, \pi / 2[$ and $\phi \in [0, 2\pi]$. I am making the measurements myself, so I can choose the number of values and their coordinates.

My first idea was to use the different points to triangulate my definition set, and sum the mean value of the vertices of each triangle divided by their surface.

But my problem will appear when $\theta \rightarrow \pi/2$, because I cannot have any measurement for these values. Is there a good strategy to solve this problem ?

New contributor
Balfar is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • 2
    $\begingroup$ Have you taken a look to Lebedev quadrature? $\endgroup$
    – nicoguaro
    Jun 23 at 13:10
  • 1
    $\begingroup$ Is your problem computing the integral without evaluating at $\theta=\pi/2$? If that's the case, not knowing that particular value should not affect the result since it is a set of measure 0. Also, it is somewhat arbitrary where $\theta=\pi/2$ is located in a sphere. $\endgroup$
    – nicoguaro
    Jun 23 at 13:20


Your Answer

Balfar is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.