Difference between revisions of "Voitlander.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
(sync with Spinach main f053e432: new triangle eigenset calling convention, parameters.b_axis and parameters.int_tol)
 
(4 intermediate revisions by the same user not shown)
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,...
−
 
+
                    triangle,Ic,Iz,Qc,Qz,Hmw)
−
==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
+
==Parameters==
−
                  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
 
  
 +
    triangle(1:3).xyz - Cartesian coordinates of the corners of the
 +
                        spherical triangle, unit column vectors
 +
 +
    triangle(1:3).tf  - transition fields at the corners of the
 +
                        spherical triangle, real column vectors, one
 +
                        element per transition
 +
 +
    triangle(1:3).tm  - transition moments at the corners of the sphe-
 +
                        rical triangle, positive column vectors, one
 +
                        element per transition
 +
 +
    triangle(1:3).tw  - transition widths at the corners of the sphe-
 +
                        rical triangle, positive column vectors, one
 +
                        element per transition
 +
 +
    triangle(1:3).pd  - energy level population differences at the
 +
                        triangle corners, real column vectors, one
 +
                        element per transition
 +
 +
    triangle(1:3).ti  - transition identity arrays at the triangle
 +
                        corners, one row per transition
 +
 +
    triangle(1:3).tj  - scaled field-sweep Jacobians at the triangle
 +
                        corners, real column vectors, one 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
+
     parameters.b_axis - a vector of magnetic field values, Tesla
−
 
+
−
    pd1,pd2,pd3 - energy level population differences at the
+
     parameters.int_tol - integration accuracy tolerance
−
                  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 parameters.b_axis
  
 
==See also==
 
==See also==
−
 
+
[[fieldsweep.m]], [[arclength.m]], [[gaussleg.m]], [[get_hull.m]], [[grid_fibon.m]], [[grid_igloo.m]], [[grid_kron.m]], [[grid_plot.m]], [[grid_polar.m]], [[grid_test.m]], [[grid_trian.m]], [[one_vcell_solidangle.m]], [[repulsion.m]], [[shrewd.m]], [[sphtarea.m]], [[sphtrsubd.m]], [[vcell_solidangle.m]], [[voronoisphere.m]], [[zfs_sampling.m]], [[Kernel_utilities]], [[Appendix I: powder grids]]
−
[[Kernel_utilities#Integration_grids|Integration grids]], [[Appendix I: powder grids]], [[fieldsweep.m]]
 
−
 
 
  
 
''Version 2.6, authors: [[Ilya Kuprov]]''
 
''Version 2.6, authors: [[Ilya Kuprov]]''

Latest revision as of 08:36, 30 August 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,...
                    triangle,Ic,Iz,Qc,Qz,Hmw)

Parameters

    triangle(1:3).xyz - Cartesian coordinates of the corners of the
                        spherical triangle, unit column vectors

    triangle(1:3).tf  - transition fields at the corners of the
                        spherical triangle, real column vectors, one
                        element per transition

    triangle(1:3).tm  - transition moments at the corners of the sphe-
                        rical triangle, positive column vectors, one
                        element per transition

    triangle(1:3).tw  - transition widths at the corners of the sphe-
                        rical triangle, positive column vectors, one
                        element per transition

    triangle(1:3).pd  - energy level population differences at the
                        triangle corners, real column vectors, one
                        element per transition

    triangle(1:3).ti  - transition identity arrays at the triangle
                        corners, one row per transition

    triangle(1:3).tj  - scaled field-sweep Jacobians at the triangle
                        corners, real 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

    parameters.b_axis  - a vector of magnetic field values, Tesla

    parameters.int_tol - integration accuracy tolerance

Outputs

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

See also

fieldsweep.m, arclength.m, gaussleg.m, get_hull.m, grid_fibon.m, grid_igloo.m, grid_kron.m, grid_plot.m, grid_polar.m, grid_test.m, grid_trian.m, one_vcell_solidangle.m, repulsion.m, shrewd.m, sphtarea.m, sphtrsubd.m, vcell_solidangle.m, voronoisphere.m, zfs_sampling.m, Kernel_utilities, Appendix I: powder grids

Version 2.6, authors: Ilya Kuprov