Difference between revisions of "Grid fibon.m"
m (Normalise preformatted blank lines in function documentation blocks) |
m (Rename Arguments section heading to Parameters) |
||
| Line 6: | Line 6: | ||
[alps,bets,gams,whts,vorn]=grid_fibon(type,parm) | [alps,bets,gams,whts,vorn]=grid_fibon(type,parm) | ||
| − | == | + | ==Parameters== |
type - 'fibonacci', 'zcw', or 'zcwn' | type - 'fibonacci', 'zcw', or 'zcwn' | ||
Revision as of 17:49, 5 June 2026
Fibonacci type spherical quadrature grids, as per Appendix A.5 of (http://dx.doi.org/10.1016/j.jmr.2014.05.009).
Syntax
[alps,bets,gams,whts,vorn]=grid_fibon(type,parm)
Parameters
type - 'fibonacci', 'zcw', or 'zcwn'
parm - point count parameter, the resulting
grid will have 2*n+1 points ('fib'),
fibonacci(n+2) points ('zcw'), or n
points (zcwn).
Outputs
alps - alpha Euler angles of the grid (radians),
zeros because these are two-angle grids
bets - beta Euler angles of the grid (radians)
gams - gamma Euler angles of the grid (radians)
whts - Voronoi tessellation body angle weights
vorn - a cell array of matrices containing the
coordinates of the vertices of the Voro-
noi polyhedra
Examples
Below is the figure produced by grid_fibon('zcwn',300).
Notes
If no outputs are requested, a schematic is drawn.
See also
Integration grids, Appendix I: powder grids
Version 2.6, authors: Ilya Kuprov
