Difference between revisions of "Voitlander.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
(Restore pre-bulk-edit wiki content)
Line 1: Line 1:
 
{{DISPLAYTITLE:voitlander.m}} __NOTOC__
 
{{DISPLAYTITLE:voitlander.m}} __NOTOC__
−
 
 
Adaptively recursed Voitlander integrator. Computes an approximation of an integral of field-swept EPR transition over a spherical triangle.
 
Adaptively recursed Voitlander integrator. Computes an approximation of an integral of field-swept EPR transition over a spherical triangle.
  
 
==Syntax==
 
==Syntax==
  
−
spec=voitlander(spin_system,parameters,r1,r2,r3,tf1,tf2,tf3,tm1,tm2,tm3,tw1,tw2,tw3,pd1,pd2,pd3,Ic,Iz,Qc,Qz,Hmw,b_axis)
+
    spec=voitlander(spin_system,parameters,r1,r2,r3,tf1,tf2,tf3,...
 +
                    tm1,tm2,tm3,tw1,tw2,tw3,Ic,Iz,Qc,Qz,Hmw,b_axis)
  
 
==Arguments==
 
==Arguments==
  
−
r1,r2,r3    - Cartesian coordinates of the corners of the
+
    r1,r2,r3    - Cartesian coordinates of the corners of the
 
                   spherical triangle, unit column vectors
 
                   spherical triangle, unit column vectors
−
 
+
 
     tf1,tf2,tf3 - transition frequencies at the corners of the
 
     tf1,tf2,tf3 - transition frequencies at the corners of the
 
                   spherical triangle, real column vectors, one
 
                   spherical triangle, real column vectors, one
 
                   element per transition
 
                   element per transition
−
 
+
 
     tm1,tm2,tm3 - transition moments at the corners of the sphe-
 
     tm1,tm2,tm3 - transition moments at the corners of the sphe-
 
                   rical triangle, positive column vectors, one
 
                   rical triangle, positive column vectors, one
 
                   element per transition
 
                   element per transition
−
 
+
 
     tw1,tw2,tw3 - transition widths at the corners of the sphe-
 
     tw1,tw2,tw3 - transition widths at the corners of the sphe-
 
                   rical triangle, positive column vectors, one
 
                   rical triangle, positive column vectors, one
 
                   element per transition
 
                   element per transition
−
 
+
 
     Ic          - isotropic part of the coupling Hamiltonian,
 
     Ic          - isotropic part of the coupling Hamiltonian,
 
                   a Hermitian matrix (set retention to 'couplings'
 
                   a Hermitian matrix (set retention to 'couplings'
 
                   in assume.m and then call hamiltonian.m)
 
                   in assume.m and then call hamiltonian.m)
−
 
+
 
     Qc          - irreducible components of the anisotropic part
 
     Qc          - irreducible components of the anisotropic part
 
                   of the coupling Hamiltonian a cell array re-
 
                   of the coupling Hamiltonian a cell array re-
 
                   turned by hamiltonian.m
 
                   turned by hamiltonian.m
−
 
+
 
     Iz          - isotropic part of the Zeeman Hamiltonian, a
 
     Iz          - isotropic part of the Zeeman Hamiltonian, a
 
                   Hermitian matrix (set retention to 'zeeman'
 
                   Hermitian matrix (set retention to 'zeeman'
 
                   in assume.m and then call hamiltonian.m) nor-
 
                   in assume.m and then call hamiltonian.m) nor-
 
                   malised to 1 Tesla
 
                   malised to 1 Tesla
−
 
+
 
     Qz          - irreducible components of the anisotropic part
 
     Qz          - irreducible components of the anisotropic part
 
                   of the Zeeman Hamiltonian a cell array retur-
 
                   of the Zeeman Hamiltonian a cell array retur-
 
                   ned by hamiltonian.m, normalised to 1 Tesla
 
                   ned by hamiltonian.m, normalised to 1 Tesla
−
 
+
 
     Hmw        - perturbation operator, a Hermitian matrix
 
     Hmw        - perturbation operator, a Hermitian matrix
−
 
+
 
     b_axis      - a vector of magnetic field values, Tesla
 
     b_axis      - a vector of magnetic field values, Tesla
−
 
−
    pd1,pd2,pd3 - energy level population differences at the
 
−
                  triangle corners, real column vectors, one
 
−
                  element per transition
 
−
 
−
    parameters.int_tol - recursive integration accuracy
 
−
                          tolerance
 
  
 
==Outputs==
 
==Outputs==
  
−
spec        - ESR spectrum integral over the triangle, array
+
    spec        - ESR spectrum integral over the triangle, array
 
                   of the same dimension as b_axis
 
                   of the same dimension as b_axis
  
 
==See also==
 
==See also==
−
 
 
[[Kernel_utilities#Integration_grids|Integration grids]], [[Appendix I: powder grids]], [[fieldsweep.m]]
 
[[Kernel_utilities#Integration_grids|Integration grids]], [[Appendix I: powder grids]], [[fieldsweep.m]]
  
  
 
''Version 2.6, authors: [[Ilya Kuprov]]''
 
''Version 2.6, authors: [[Ilya Kuprov]]''

Revision as of 14:50, 5 April 2026

Adaptively recursed Voitlander integrator. Computes an approximation of an integral of field-swept EPR transition over a spherical triangle.

Syntax

    spec=voitlander(spin_system,parameters,r1,r2,r3,tf1,tf2,tf3,...
                    tm1,tm2,tm3,tw1,tw2,tw3,Ic,Iz,Qc,Qz,Hmw,b_axis)

Arguments

    r1,r2,r3    - Cartesian coordinates of the corners of the
                  spherical triangle, unit column vectors

    tf1,tf2,tf3 - transition frequencies at the corners of the
                  spherical triangle, real column vectors, one
                  element per transition

    tm1,tm2,tm3 - transition moments at the corners of the sphe-
                  rical triangle, positive column vectors, one
                  element per transition

    tw1,tw2,tw3 - transition widths at the corners of the sphe-
                  rical triangle, positive column vectors, one
                  element per transition

    Ic          - isotropic part of the coupling Hamiltonian,
                  a Hermitian matrix (set retention to 'couplings'
                  in assume.m and then call hamiltonian.m)

    Qc          - irreducible components of the anisotropic part
                  of the coupling Hamiltonian a cell array re-
                  turned by hamiltonian.m

    Iz          - isotropic part of the Zeeman Hamiltonian, a
                  Hermitian matrix (set retention to 'zeeman'
                  in assume.m and then call hamiltonian.m) nor-
                  malised to 1 Tesla

    Qz          - irreducible components of the anisotropic part
                  of the Zeeman Hamiltonian a cell array retur-
                  ned by hamiltonian.m, normalised to 1 Tesla

    Hmw         - perturbation operator, a Hermitian matrix

    b_axis      - a vector of magnetic field values, Tesla

Outputs

    spec        - ESR spectrum integral over the triangle, array
                  of the same dimension as b_axis

See also

Integration grids, Appendix I: powder grids, fieldsweep.m


Version 2.6, authors: Ilya Kuprov