one_vcell_solidangle.m

From Spinach Documentation Wiki
Revision as of 15:03, 5 April 2026 by Kuprov (talk | contribs) (Sync syntax/arguments/outputs with current Spinach source)
Jump to: navigation, search


Solid angle of a convex spherical polygon as described in (https://doi.org/10.1109/TBME.1983.325207).

Syntax

S=one_vcell_solidangle(v,centre)

Arguments

v - (3 x n) matrix of unit vectors giving

              the coordinates of each vertex

    centre - centre vertex coordinates, optional

Outputs

S - the solid angle, radians

See also

Integration grids, Appendix I: powder grids


Version 2.6, authors: Bruno Luong, Ilya Kuprov