Difference between revisions of "Deer 4p soft hole.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
(sync with Spinach main f053e432: parameters.spins added per head header)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:deer_4p_soft_hole.m}} __NOTOC__
 
{{DISPLAYTITLE:deer_4p_soft_hole.m}} __NOTOC__
−
 
 
Pulse diagnostics for the four-pulse DEER/PELDOR pulse sequence. This function shows how soft pulses affect the magnetisation of the sample. It is a hypothetical experiment where a soft pulse specified by the user is performed, immediately followed by an ideal pi/2 pulse on all spins followed by infinite-bandwidth time-domain detection.
 
Pulse diagnostics for the four-pulse DEER/PELDOR pulse sequence. This function shows how soft pulses affect the magnetisation of the sample. It is a hypothetical experiment where a soft pulse specified by the user is performed, immediately followed by an ideal pi/2 pulse on all spins followed by infinite-bandwidth time-domain detection.
  
 
==Syntax==
 
==Syntax==
  
−
fids=deer_4p_soft_hole(spin_system,parameters,H,R,K)
+
    fids=deer_4p_soft_hole(spin_system,parameters,H,R,K)
  
−
==Arguments==
+
==Parameters==
  
−
parameters.pulse_frq  - frequencies for the four
+
    parameters.pulse_frq  - frequencies for the four  
 
                             pulses, Hz
 
                             pulses, Hz
−
 
+
 
     parameters.pulse_pwr  - power levels for the four
 
     parameters.pulse_pwr  - power levels for the four
 
                             pulses, rad/s
 
                             pulses, rad/s
−
 
+
 
     parameters.pulse_dur  - durations for the four
 
     parameters.pulse_dur  - durations for the four
 
                             pulses, seconds
 
                             pulses, seconds
−
 
+
−
     parameters.pulse_phi  - initial phases for the four
+
     parameters.pulse_phi  - initial phases for the four  
 
                             pulses, radians
 
                             pulses, radians
−
 
+
 
     parameters.pulse_rnk  - Fokker-Planck ranks for the
 
     parameters.pulse_rnk  - Fokker-Planck ranks for the
 
                             four pulses
 
                             four pulses
−
 
+
 
     parameters.offset    - receiver offset for the time
 
     parameters.offset    - receiver offset for the time
 
                             domain detection, Hz
 
                             domain detection, Hz
−
 
+
 
     parameters.sweep      - sweep width for time domain
 
     parameters.sweep      - sweep width for time domain
 
                             detection, Hz
 
                             detection, Hz
−
 
+
 
     parameters.npoints    - number of points in the free
 
     parameters.npoints    - number of points in the free
−
                             induction decay
+
                             induction decay  
−
 
+
 
     parameters.spins      - irradiated spins, normally {'E'}
 
     parameters.spins      - irradiated spins, normally {'E'}
−
 
+
 
     parameters.rho0      - initial state
 
     parameters.rho0      - initial state
−
 
+
 
     parameters.coil      - detection state
 
     parameters.coil      - detection state
−
 
+
 
     parameters.method    - soft puse propagation method,
 
     parameters.method    - soft puse propagation method,
 
                             'expv' for Krylov propagation,
 
                             'expv' for Krylov propagation,
Line 44: Line 43:
 
                             gation, 'evolution' for Spin-
 
                             gation, 'evolution' for Spin-
 
                             ach evolution function
 
                             ach evolution function
−
 
+
 
     H  - Hamiltonian matrix, received from context function
 
     H  - Hamiltonian matrix, received from context function
−
 
+
 
     R  - relaxation superoperator, received from context function
 
     R  - relaxation superoperator, received from context function
−
 
+
 
     K  - kinetics superoperator, received from context function
 
     K  - kinetics superoperator, received from context function
  
 
==Outputs==
 
==Outputs==
  
−
fids  - four free induction decays that should be apo-
+
    fids  - four free induction decays that should be apo-
 
             dised and Fourier transformed
 
             dised and Fourier transformed
  
 
==Examples==
 
==Examples==
−
 
 
A good case is the first figure produced by examples/esr_solids/soft_4_pulse_deer_2e.m example file, reproduced below.
 
A good case is the first figure produced by examples/esr_solids/soft_4_pulse_deer_2e.m example file, reproduced below.
  
Line 63: Line 61:
  
 
==Notes==
 
==Notes==
−
 
 
For the method, start with 'expm', change to 'expv' if the calculation runs out of memory, and use 'evolution' as the last resort.
 
For the method, start with 'expm', change to 'expv' if the calculation runs out of memory, and use 'evolution' as the last resort.
  
 
==See also==
 
==See also==
−
 
+
[[deer_3p_hard_echo.m]], [[deer_3p_hard_deer.m]], [[deer_analyt.m]], [[eseem.m]], [[oopeseem.m]], [[deer_4p_soft_deer.m]], [[deer_4p_soft_diag.m]], [[deer_3p_soft_deer.m]], [[deer_3p_soft_hole.m]], [[deer_3p_soft_diag.m]], [[endor_cw.m]], [[endor_davies.m]], [[endor_mims.m]], [[endor_mims_echo.m]], [[endor_mims_ideal.m]], [[fieldsweep.m]], [[hyscore.m]], [[rapidscan.m]], [[ridme.m]], [[rydmr_exp.m]], [[sifter.m]], [[Built-in_experiments]]
−
[[deer_3p_hard_echo.m]], [[deer_3p_hard_deer.m]], [[deer_analyt.m]], [[eseem.m]], [[oopeseem.m]], [[deer_4p_soft_deer.m]], [[deer_4p_soft_diag.m]], [[deer_3p_soft_deer.m]], [[deer_3p_soft_hole.m]], [[deer_3p_soft_diag.m]]
 
−
 
 
  
 
''Version 2.4, authors: [[Ilya Kuprov]]''
 
''Version 2.4, authors: [[Ilya Kuprov]]''

Latest revision as of 05:43, 30 August 2026

Pulse diagnostics for the four-pulse DEER/PELDOR pulse sequence. This function shows how soft pulses affect the magnetisation of the sample. It is a hypothetical experiment where a soft pulse specified by the user is performed, immediately followed by an ideal pi/2 pulse on all spins followed by infinite-bandwidth time-domain detection.

Syntax

    fids=deer_4p_soft_hole(spin_system,parameters,H,R,K)

Parameters

   parameters.pulse_frq  - frequencies for the four 
                           pulses, Hz

   parameters.pulse_pwr  - power levels for the four
                           pulses, rad/s

   parameters.pulse_dur  - durations for the four
                           pulses, seconds

   parameters.pulse_phi  - initial phases for the four 
                           pulses, radians

   parameters.pulse_rnk  - Fokker-Planck ranks for the
                           four pulses

   parameters.offset     - receiver offset for the time
                           domain detection, Hz

   parameters.sweep      - sweep width for time domain
                           detection, Hz

   parameters.npoints    - number of points in the free
                           induction decay 

   parameters.spins      - irradiated spins, normally {'E'}

   parameters.rho0       - initial state

   parameters.coil       - detection state

   parameters.method     - soft puse propagation method,
                           'expv' for Krylov propagation,
                           'expm' for exponential propa-
                           gation, 'evolution' for Spin-
                           ach evolution function

   H  - Hamiltonian matrix, received from context function

   R  - relaxation superoperator, received from context function

   K  - kinetics superoperator, received from context function

Outputs

   fids  - four free induction decays that should be apo-
           dised and Fourier transformed

Examples

A good case is the first figure produced by examples/esr_solids/soft_4_pulse_deer_2e.m example file, reproduced below.

Pulse effect 4p.png

Notes

For the method, start with 'expm', change to 'expv' if the calculation runs out of memory, and use 'evolution' as the last resort.

See also

deer_3p_hard_echo.m, deer_3p_hard_deer.m, deer_analyt.m, eseem.m, oopeseem.m, deer_4p_soft_deer.m, deer_4p_soft_diag.m, deer_3p_soft_deer.m, deer_3p_soft_hole.m, deer_3p_soft_diag.m, endor_cw.m, endor_davies.m, endor_mims.m, endor_mims_echo.m, endor_mims_ideal.m, fieldsweep.m, hyscore.m, rapidscan.m, ridme.m, rydmr_exp.m, sifter.m, Built-in_experiments

Version 2.4, authors: Ilya Kuprov