Difference between revisions of "Lpcs.m"

From Spinach Documentation Wiki
Jump to: navigation, search
Line 1: Line 1:
−
Computes PCS from the multipole moments of the paramagnetic centre probability density as described in http://dx.doi.org/10.1039/c6cp05437d - Equation 33 is used under the assumption that all nuclei are outside the bounding sphere shown in Figure 1 of the paper. Syntax:
+
{{DISPLAYTITLE:function.m}}
 +
Computes PCS from the multipole moments of the paramagnetic centre probability density as described in http://dx.doi.org/10.1039/c6cp05437d - Equation 33 is used under the assumption that all nuclei are outside the bounding sphere shown in Figure 1 of the paper.
 +
 
 +
==Syntax==
  
 
     theo_pcs=lpcs(nxyz,mxyz,ranks,Ilm,chi)
 
     theo_pcs=lpcs(nxyz,mxyz,ranks,Ilm,chi)
−
 
−
Parameters:
 
  
−
     nxyz  - nuclear coordinates as [x y z] with multiple rows,
+
==Arguments==
−
                at which PCS is to be evaluated, in Angstroms.
+
 
 +
     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  
+
     mxyz  - paramagnetic centre coordinates as [x y z],  
−
                Angstroms.
+
            in Angstroms.
 
   
 
   
 
     ranks - array of multipole ranks supplied in Ilm
 
     ranks - array of multipole ranks supplied in Ilm
 
   
 
   
−
     Ilm  - {[],[]} array of numbers corresponding to the integral
+
     Ilm  - {[],[]} array of numbers corresponding to  
−
             Int(rho(r,theta,phi)Y*lm(theta,phi)r^ld^3r)
+
            the integrals
 +
 +
             Int[rho(r,theta,phi)*Y_lm(theta,phi)*r^l*d^3r]
 +
 
             for L=0 Ilm=N/2/sqrt(pi)
 
             for L=0 Ilm=N/2/sqrt(pi)
 
             for L=1 Ilm=[imag(I11) I10 real(I11)]
 
             for L=1 Ilm=[imag(I11) I10 real(I11)]
−
             for L=2 Ilm=[imag(I22) imag(I21) I20 real(I21) real(I22)]
+
             for L=2 Ilm=[imag(I22) imag(I21) I20 ...
 +
                          real(I21) real(I22)]
 +
             
 +
            et cetera.
 
   
 
   
−
     chi  - the 3x3 matrix or the five independent elements of the
+
     chi  - the 3x3 matrix or the five independent elements
−
            susceptibility tensor in cubic Angstroms
+
            of the susceptibility tensor in cubic Angstroms
 +
 
 +
==Outputs==
 +
 
 +
    theo_pcs  - predicted pseudocontact shift (in ppm) at
 +
                each of the nuclei.
  
−
Output:
+
==Examples==
 +
See the paramagnetic shift [[Pseudocontact_shift_analysis|getting started guide]].
  
−
    theo_pcs  - predicted pseudocontact shift (in ppm) at each of
+
==See also==
−
                the nuclei.
+
[[ilpcs.m]], [[kpcs.m]], [[ipcs.m]], [[hfc2pcs.m]], [[hfc2pms.m]], [[pcs2chi.m]], [[pms2chi.m]]
  
  
−
''Version 1.9, authors: [[Elizaveta Suturina]]''
+
''Version 2.2, authors: [[Elizaveta Suturina]], [[Ilya Kuprov]]''

Revision as of 13:05, 22 August 2018

Computes PCS from the multipole moments of the paramagnetic centre probability density as described in http://dx.doi.org/10.1039/c6cp05437d - Equation 33 is used under the assumption that all nuclei are outside the bounding sphere shown in Figure 1 of the paper.

Syntax

    theo_pcs=lpcs(nxyz,mxyz,ranks,Ilm,chi)

Arguments

    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.

    ranks - array of multipole ranks supplied in Ilm

    Ilm   - {[],[]} array of numbers corresponding to 
            the integrals

            Int[rho(r,theta,phi)*Y_lm(theta,phi)*r^l*d^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)]
             
            et cetera.

    chi   - the 3x3 matrix or the five independent elements
            of the susceptibility tensor in cubic Angstroms

Outputs

    theo_pcs  - predicted pseudocontact shift (in ppm) at 
                each of the nuclei.

Examples

See the paramagnetic shift getting started guide.

See also

ilpcs.m, kpcs.m, ipcs.m, hfc2pcs.m, hfc2pms.m, pcs2chi.m, pms2chi.m


Version 2.2, authors: Elizaveta Suturina, Ilya Kuprov