Difference between revisions of "Vcell solidangle.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Correct function page syntax from current Spinach source)
m (Rename Arguments section heading to Parameters)
Line 7: Line 7:
 
     S=vcell_solidangle(P,K,xyz)
 
     S=vcell_solidangle(P,K,xyz)
  
==Arguments==
+
==Parameters==
  
 
       P    - (3 x m) array with coordinates of the
 
       P    - (3 x m) array with coordinates of the

Revision as of 18:53, 5 June 2026

Solid angle of a spherical Voronoi cell.

Syntax

    S=vcell_solidangle(P,K,xyz)

Parameters

     P    - (3 x m) array with coordinates of the
             vertices of the Voronoi cell

     K    - (n x 1) cell, each K{j} contains the 
             indices of the Voronoi cell

     xyz  - optional (3 x n) knot points to guide
            vcell_solidangle to compute the solid 
            angle of the "right" cell containing 
            the node (and not the complement cell)

Outputs

     S    - the solid angle of the Voronoi cell

See also

Integration grids, Appendix I: powder grids

Version 2.6, authors: Bruno Luong, Ilya Kuprov