Difference between revisions of "Vcell solidangle.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
(Restore pre-bulk-edit wiki content)
Line 1: Line 1:
 
{{DISPLAYTITLE:vcell_solidangle.m}} __NOTOC__
 
{{DISPLAYTITLE:vcell_solidangle.m}} __NOTOC__
−
 
 
Solid angle of a spherical Voronoi cell.
 
Solid angle of a spherical Voronoi cell.
  
 
==Syntax==
 
==Syntax==
  
−
S=vcell_solidangle(P,K,xyz)
+
    function call string
  
 
==Arguments==
 
==Arguments==
  
−
P    - (3 x m) array with coordinates of the
+
      P    - (3 x m) array with coordinates of the
 
               vertices of the Voronoi cell
 
               vertices of the Voronoi cell
 
   
 
   
Line 22: Line 21:
 
==Outputs==
 
==Outputs==
  
−
S    - the solid angle of the Voronoi cell
+
      S    - the solid angle of the Voronoi cell
  
 
==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 14:50, 5 April 2026

Solid angle of a spherical Voronoi cell.

Syntax

    function call string

Arguments

     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