Difference between revisions of "Points2mult.m"
(Normalise sequential blank lines) |
m (Spot-edit Spinach function page first-line NOTOC and template fields) |
||
| Line 1: | Line 1: | ||
| + | {{DISPLAYTITLE:points2mult.m}} __NOTOC__ | ||
Computes multipole moments of a set of points with user-specified spin populations. Syntax: | Computes multipole moments of a set of points with user-specified spin populations. Syntax: | ||
| Line 28: | Line 29: | ||
Ilm - multipole moments of the spin density | Ilm - multipole moments of the spin density | ||
| + | |||
| + | ==Syntax== | ||
| + | |||
| + | Ilm=points2mult(xyz,mxyz,rho,L,method) | ||
| + | |||
| + | The multipoles in question are described in Equation 32 of: | ||
| + | |||
| + | http://dx.doi.org/10.1039/C6CP05437D | ||
| + | |||
| + | ==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 | ||
==See also== | ==See also== | ||
Revision as of 17:28, 5 June 2026
Computes multipole moments of a set of points with user-specified spin populations. Syntax:
Ilm=points2mult(xyz,mxyz,rho,L,method)
The multipoles in question are described in http://dx.doi.org/10.1039/c6cp05437d
Parameters:
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 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'. In the
latter case, the point coordinates must also come
from ndgrid() function.
Output:
Ilm - multipole moments of the spin density
Syntax
Ilm=points2mult(xyz,mxyz,rho,L,method)
The multipoles in question are described in Equation 32 of:
http://dx.doi.org/10.1039/C6CP05437D
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
See also
lpcs.m, ipcs.m, qform2sph.m, Hyperfine shift infrastructure
Version 1.9, Authors: Elizaveta Suturina