Difference between revisions of "One vcell solidangle.m"
(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...") |
(Sync syntax/arguments/outputs with current Spinach source) |
||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:one_vcell_solidangle.m}} __NOTOC__ | {{DISPLAYTITLE:one_vcell_solidangle.m}} __NOTOC__ | ||
| + | |||
Solid angle of a convex spherical polygon as described in (https://doi.org/10.1109/TBME.1983.325207). | Solid angle of a convex spherical polygon as described in (https://doi.org/10.1109/TBME.1983.325207). | ||
==Syntax== | ==Syntax== | ||
| − | + | S=one_vcell_solidangle(v,centre) | |
==Arguments== | ==Arguments== | ||
| − | + | v - (3 x n) matrix of unit vectors giving | |
the coordinates of each vertex | the coordinates of each vertex | ||
| Line 15: | Line 16: | ||
==Outputs== | ==Outputs== | ||
| − | + | S - the solid angle, radians | |
==See also== | ==See also== | ||
| + | |||
[[Kernel_utilities#Integration_grids|Integration grids]], [[Appendix I: powder grids]] | [[Kernel_utilities#Integration_grids|Integration grids]], [[Appendix I: powder grids]] | ||
''Version 2.6, authors: [[Bruno Luong]], [[Ilya Kuprov]]'' | ''Version 2.6, authors: [[Bruno Luong]], [[Ilya Kuprov]]'' | ||
Revision as of 15:03, 5 April 2026
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