Difference between revisions of "Sp acquire.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
(Normalise remaining wiki page to current Spinach source header)
Line 1: Line 1:
 
{{DISPLAYTITLE:sp_acquire.m}} __NOTOC__
 
{{DISPLAYTITLE:sp_acquire.m}} __NOTOC__
  
−
Soft pulse followed by acquisition. The soft pulse is simulated using the Fokker-Planck formalism. Syntax:
+
Soft pulse followed by acquisition. The soft pulse is simulated
 +
using the Fokker-Planck formalism.
  
 +
==Syntax==
  
−
    fid=sp_acquire(spin_system,parameters,H,R,K)
+
fid=sp_acquire(spin_system,parameters,H,R,K)
−
 
 
−
Parameters:
 
−
 
 
−
    parameters.pulse_frq - frequency of the soft pulse, Hz
 
−
 
−
    parameters.pulse_phi - phase of the soft pulse, rad
 
−
 
−
    parameters.pulse_pwr - power of the soft pulse, Hz
 
−
 
−
    parameters.pulse_dur - duration of the sof pulse, s
 
−
 
−
    parameters.pulse_rnk - Fokker-Planck cut-off rank
 
−
 
−
    parameters.method  - method to use during the call
 
−
                          to shaped_pulse_af()
 
−
 
 
−
The last parameter should be increased until convergence is achieved in the output.
 
−
 
 
−
 
 
−
''New in Version 1.8, authors: [[Ilya Kuprov]]''
 
  
 
==Arguments==
 
==Arguments==
  
−
parameters.pulse_frq - frequency of the soft pulse,
+
parameters.pulse_frq - frequency of the soft pulse,
 
                             relative to the frequency of
 
                             relative to the frequency of
 
                             the current rotating frame, Hz
 
                             the current rotating frame, Hz

Revision as of 15:13, 5 April 2026


Soft pulse followed by acquisition. The soft pulse is simulated using the Fokker-Planck formalism.

Syntax

fid=sp_acquire(spin_system,parameters,H,R,K)

Arguments

parameters.pulse_frq - frequency of the soft pulse,
                           relative to the frequency of
                           the current rotating frame, Hz
    parameters.pulse_phi - phase of the soft pulse, rad
    parameters.pulse_pwr - power of the soft pulse, rad/s
    parameters.pulse_dur - duration of the sof pulse, s
    parameters.pulse_rnk - Fokker-Planck cut-off rank,
                           a small integer: start with 2
                           and increase until the answer
                           stops changing
    parameters.offset    - transmitter / receiver offset
                           for the time domain pulses and
                           detection, relative to the cur-
                           rent rotating frame, Hz
    parameters.sweep     - sweep width for time domain
                           detection, Hz
    parameters.npoints   - number of points in the free
                           induction decay
    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
ilya.kuprov@weizmann.ac.il