Lpcs.m
Computes PCS from paramagnetic density (rho) outside the bounding sphere
Parameters:
nxyz - nuclear coordinates as [x y z] with multiple rows,
at which PCS is to be evaluated, in Angstroms.
mxyz - paramagnetic centre coordinates as [x y z], in
Angstroms.
L - array of ranks of spherical harmonics of the density
Ilm - {[],[]} array of numbers corresponding to the integral
Int(rho(r,theta,phi)Y*lm(theta,phi)r^ld^3r)
for L=0 Ilm=N/2/sqrt(pi)
for L=1 Ilm=[imag(I11) I10 real(I11)]
for L=2 Ilm=[imag(I22) imag(I21) I20 real(I21) real(I22)]
chi - 3x3 matrix or 5 values for susceptibility tensor in SI Angstrom^3
Output:
theor_pcs - predicted pseudocontact shift (in ppm) at each of
the nuclei.