one_vcell_solidangle.m

From Spinach Documentation Wiki
Revision as of 11:34, 1 July 2021 by Kuprov (talk | contribs) (Created page with "{{DISPLAYTITLE:one_vcell_solidangle.m}} __NOTOC__ Solid angle of a convex spherical polygon as described in (https://doi.org/10.1109/TBME.1983.325207). ==Syntax== A=one...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Syntax

    A=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