Difference between revisions of "Dnp freq scan.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "Microwave frequency scan DNP experiment. Returns the equilibrium magnetization of all spins as a function of microwave irradiation frequency. Syntax: answer=dnp_fre...")
 
(sync with Spinach main f053e432: thermalisation note now specifies inter.equilibrium='zero')
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
−
Microwave frequency scan DNP experiment. Returns the equilibrium
+
{{DISPLAYTITLE:dnp_freq_scan.m}} __NOTOC__
−
magnetization of all spins as a function of microwave irradiation
+
Microwave frequency scan steady-state DNP experiment. Returns the steady-state population of the user-specified states as a function of microwave irradiation frequency.
−
frequency. Syntax:
 
  
−
          answer=dnp_freq_scan(spin_system,parameters,H,R,K)
+
==Syntax==
  
−
where H is the Hamiltonian commutation superoperator, R is the
+
    dnp=dnp_freq_scan(spin_system,parameters,H,R,K)
−
relaxation superoperator and K is the chemical kinetics super-
 
−
operator. The following parameters are required:
 
  
−
      parameters.mw_power    -  microwave power, rad/s
+
==Parameters==
  
−
       parameters.mw_freqs    -  row vector of microwave  
+
    parameters.mw_pwr       -  microwave power, rad/s
−
                                  frequencies, rad/s
+
 +
    parameters.mw_frq      -  row vector of microwave frequ-
 +
                                ency offsets (rad/s) relative
 +
                                to the reference g-factor
 +
 +
    parameters.g_ref        -  reference g-factor around which
 +
                                frequency offsets are specified
 +
 +
    parameters.rho0        -  thermal equilibrium state
 +
 +
    parameters.coil        -  coil state vector or a horizon-
 +
                                tal stack thereof
 +
 +
    parameters.mw_oper      -  microwave irradiation operator
 +
 +
    parameters.ez_oper      -  Lz operator on the electrons
 +
 +
    parameters.method      -  calculation method: 'fp-backs',
 +
                                'fp-gmres', 'lvn-backs', or
 +
                                'lvn-gmres'
 +
 +
    parameters.nphases      -  number of microwave phase grid
 +
                                points for the Fokker-Planck path
 +
 +
    H - Hamiltonian matrix, received from context function
 +
 +
    R - relaxation superoperator, received from context function
 +
 +
    K - kinetics superoperator, received from context function
  
−
      parameters.rho_eq      -  thermal equilibrium state
+
==Outputs==
  
−
      parameters.coil         -  coil state vector or a horizon-
+
    dnp    -  an array of steady state expectation values for
−
                                  tal stack thereof
+
              the states specified in parameters.coil at each
 +
              of the microwave frequencies supplied
  
−
      parameters.mw_oper      -  microwave irradiation operator
+
==Examples==
 +
Below is a simple TOTAPOL based Cross Effect DNP example (examples/dnp_solids/cross_effect_freq_scan_3.m), set to reproduce Figure 2b from http://dx.doi.org/10.1016/j.jmr.2011.09.047
  
−
      parameters.ez_oper      -  Lz operator on the electrons
+
[[File: dnp_example_3.png]]
  
−
      parameters.rlx          -  unthermalized relaxation super-
+
Intensity differences are due to a different relaxation model and minor inconsistencies between the stated geometry and the interaction amplitudes used in the original paper.
−
                                  operator
+
 
 +
==Notes==
 +
# The relaxation superoperator supplied to this function must NOT be thermalized for this type of calculation (inter.equilibrium='zero').
 +
# Backslash method is recommended for small spin systems and GMRES method for large ones.
 +
 
 +
==See also==
 +
[[beamdnp.m]], [[dnp_field_scan.m]], [[dnp_time_dep.m]], [[masdnp.m]], [[noveldnp.m]], [[noveldnp_steady.m]], [[solid_effect.m]], [[topdnp.m]], [[xixdnp.m]], [[xixdnp_steady.m]], [[Built-in_experiments]]
 +
 
 +
''Version 2.5, authors: [[Ilya Kuprov]], [[Walter Kockenberger]], [[Alexander Karabanov]], [[Maria Grazia Concilio]]''

Latest revision as of 05:39, 30 August 2026

Microwave frequency scan steady-state DNP experiment. Returns the steady-state population of the user-specified states as a function of microwave irradiation frequency.

Syntax

    dnp=dnp_freq_scan(spin_system,parameters,H,R,K)

Parameters

   parameters.mw_pwr       -   microwave power, rad/s

   parameters.mw_frq       -   row vector of microwave frequ-
                               ency offsets (rad/s) relative
                               to the reference g-factor

   parameters.g_ref        -   reference g-factor around which
                               frequency offsets are specified

   parameters.rho0         -   thermal equilibrium state

   parameters.coil         -   coil state vector or a horizon-
                               tal stack thereof

   parameters.mw_oper      -   microwave irradiation operator

   parameters.ez_oper      -   Lz operator on the electrons

   parameters.method       -   calculation method: 'fp-backs',
                               'fp-gmres', 'lvn-backs', or
                               'lvn-gmres'

   parameters.nphases      -   number of microwave phase grid
                               points for the Fokker-Planck path

   H - Hamiltonian matrix, received from context function

   R - relaxation superoperator, received from context function

   K - kinetics superoperator, received from context function

Outputs

   dnp    -  an array of steady state expectation values for
             the states specified in parameters.coil at each
             of the microwave frequencies supplied

Examples

Below is a simple TOTAPOL based Cross Effect DNP example (examples/dnp_solids/cross_effect_freq_scan_3.m), set to reproduce Figure 2b from http://dx.doi.org/10.1016/j.jmr.2011.09.047

Dnp example 3.png

Intensity differences are due to a different relaxation model and minor inconsistencies between the stated geometry and the interaction amplitudes used in the original paper.

Notes

  1. The relaxation superoperator supplied to this function must NOT be thermalized for this type of calculation (inter.equilibrium='zero').
  2. Backslash method is recommended for small spin systems and GMRES method for large ones.

See also

beamdnp.m, dnp_field_scan.m, dnp_time_dep.m, masdnp.m, noveldnp.m, noveldnp_steady.m, solid_effect.m, topdnp.m, xixdnp.m, xixdnp_steady.m, Built-in_experiments

Version 2.5, authors: Ilya Kuprov, Walter Kockenberger, Alexander Karabanov, Maria Grazia Concilio