Difference between revisions of "Points2mult.m"
(Sync syntax/arguments/outputs with current Spinach source) |
(Normalise remaining wiki page to current Spinach source header) |
||
| Line 1: | Line 1: | ||
| − | + | {{DISPLAYTITLE:points2mult.m}} __NOTOC__ | |
| + | Computes multipole moments from a set of points with user-specified | ||
| + | spin populations. | ||
| + | ==Syntax== | ||
| − | + | Ilm=points2mult(xyz,mxyz,rho,L,method) | |
| − | + | ==Arguments== | |
| − | + | xyz - coordinates as [x y z] with multiple rows, | |
| − | + | at which density rho is evaluated, in Angstroms. | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | mxyz - paramagnetic centre coordinates as [x y z], in | |
| − | + | Angstroms. | |
| − | |||
| + | L - array of ranks of spherical harmonics of the | ||
| + | probability density | ||
| − | '' | + | rho - column of the densities at the points xyz |
| + | |||
| + | method - 'points' or 'grid'. If the spin density is supplied | ||
| + | as Mulliken spin populations at individual nuclei, | ||
| + | choose 'points'; if the spin density is supplied as | ||
| + | a probability on a uniform cubic grid obtained from | ||
| + | ndgrid() function and vectorised, use 'grid'. | ||
| + | |||
| + | ==Outputs== | ||
| + | |||
| + | Ilm - multipole moments of the probability density | ||
| + | |||
| + | ilya.kuprov@weizmann.ac.il | ||
| + | e.suturina@soton.ac.uk | ||
Revision as of 14:13, 5 April 2026
Computes multipole moments from a set of points with user-specified
spin populations.
Syntax
Ilm=points2mult(xyz,mxyz,rho,L,method)
Arguments
xyz - coordinates as [x y z] with multiple rows,
at which density rho is evaluated, in Angstroms.
mxyz - paramagnetic centre coordinates as [x y z], in
Angstroms.
L - array of ranks of spherical harmonics of the
probability density
rho - column of the densities at the points xyz
method - 'points' or 'grid'. If the spin density is supplied
as Mulliken spin populations at individual nuclei,
choose 'points'; if the spin density is supplied as
a probability on a uniform cubic grid obtained from
ndgrid() function and vectorised, use 'grid'.
Outputs
Ilm - multipole moments of the probability density
ilya.kuprov@weizmann.ac.il e.suturina@soton.ac.uk