Difference between revisions of "Dnp freq scan.m"
(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...") |
|||
| Line 1: | Line 1: | ||
| − | Microwave frequency scan DNP experiment. | + | 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== | ||
| + | # The relaxation superoperator supplied to this function should NOT be thermalized. | ||
| + | # Backslash method is recommended for small spin systems and GMRES method for large ones. | ||
| + | # 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]]'' | ||
Revision as of 14:56, 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
- The relaxation superoperator supplied to this function should NOT be thermalized.
- Backslash method is recommended for small spin systems and GMRES method for large ones.
- 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