Difference between revisions of "Dnp freq scan.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(→‎See also)
(→‎See also)
Line 53: Line 53:
  
  
−
''Revision 3284, authors: [[Ilya Kuprov]],[[Walter Kockenberger]],[[Alexander Karabanov]]''
+
''Revision 3284, authors: [[Ilya Kuprov]], [[Walter Kockenberger]], [[Alexander Karabanov]]''

Revision as of 14:58, 15 August 2016

Microwave frequency scan steady-state DNP experiment.

Description

Returns the steady-state population of the user-specified state as a function of microwave frequency.

Syntax

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

This function should normally be called via powder.m or crystal.m wrapper.

Arguments

    parameters.mw_pwr      -   microwave power, Hz

    parameters.mw_frq      -   row vector of microwave frequencies, rad/s

    parameters.rho_eq      -   thermal equilibrium state

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

    parameters.mw_oper     -   microwave irradiation operator

    parameters.ez_oper     -   Lz operator on the electrons

    parameters.method      -   'backslash' to use Matlab's
                               linear equation solver, 'gmres'
                               to use ILU preconditioned GMRES

    H                      -   Hamiltonian commutation superoperator

    R                      -   unthermalised relaxation superoperator 

    K                      -   chemical kinetics superoperator

Returns

    answer                 -   the projection of the equilibrium density matrix 
                               on the user-specified state as a function of the
                               microwave frequency

Examples

Notes

  1. The relaxation superoperator supplied to this function should NOT be thermalized.
  2. Backslash method is recommended for small spin systems and GMRES method for large ones.
  3. This function can be made to run on GPUs. If you would like that functionality added, send an email to Ilya Kuprov.

See also

dnp_field_scan.m,masdnp.m,solid_effect.m


Revision 3284, authors: Ilya Kuprov, Walter Kockenberger, Alexander Karabanov