Difference between revisions of "Spendosy.m"

From Spinach Documentation Wiki
Jump to: navigation, search
Line 6: Line 6:
  
 
  parameters.dims          size of the sample in m
 
  parameters.dims          size of the sample in m
 
+
 
  parameters.npts          number of spin packets
 
  parameters.npts          number of spin packets
 
+
 
  parameters.spins          nuclei on which the sequence runs
 
  parameters.spins          nuclei on which the sequence runs
 
+
 
  parameters.deltat        timestep for acquisition
 
  parameters.deltat        timestep for acquisition
 
+
 
  parameters.npoints        number of acquired points for each  
 
  parameters.npoints        number of acquired points for each  
 
                           gradient readout
 
                           gradient readout
 
+
 
  parameters.nloops        number of loop, where each loop consists of  
 
  parameters.nloops        number of loop, where each loop consists of  
 
                           a positive and a negative readout
 
                           a positive and a negative readout
 
+
 
  parameters.offset        offset  
 
  parameters.offset        offset  
 
+
 
  parameters.cond          bondary conditions  
 
  parameters.cond          bondary conditions  
 
+
 
  parameters.Ga            acquisition gradient in T/m
 
  parameters.Ga            acquisition gradient in T/m
 
+
 
  parameters.pulsenpoints  number of points in the pulse shape
 
  parameters.pulsenpoints  number of points in the pulse shape
 
+
 
  parameters.smfactor      smoothing factor for the pulse
 
  parameters.smfactor      smoothing factor for the pulse
 
+
 
  parameters.Te            duration of the pulse
 
  parameters.Te            duration of the pulse
 
+
 
  parameters.Tau            duration extra dephasing gradient
 
  parameters.Tau            duration extra dephasing gradient
 
+
 
  parameters.BW            bandwidth of the pulse
 
  parameters.BW            bandwidth of the pulse
 
+
 
  parameters.Ge            encoding gradient in T/m
 
  parameters.Ge            encoding gradient in T/m
 
+
 
  parameters.chirptype      can be 'wurst' or 'smoothed'
 
  parameters.chirptype      can be 'wurst' or 'smoothed'
 +
 
 +
parameters.td            diffusion delay
 
   
 
   
parameters.td            diffusion delay
 
 
 
  H                        Fokker-Planck Hamiltonian
 
  H                        Fokker-Planck Hamiltonian
 
+
 
  R                        Fokker-Planck relaxation superoperator
 
  R                        Fokker-Planck relaxation superoperator
 
+
 
  K                        Fokker-Planck kinetics superoperator
 
  K                        Fokker-Planck kinetics superoperator
 
+
 
  G                        Fokker-Planck gradient superoperators
 
  G                        Fokker-Planck gradient superoperators
 
+
 
  F                        Fokker-Planck diffusion and flow superoperator
 
  F                        Fokker-Planck diffusion and flow superoperator
 
+
 
Note: the last five parameters are built automatically by the imaging context function.
 
Note: the last five parameters are built automatically by the imaging context function.
  
  
 
''Version 1.9, authors: [[Jean-Nicolas Dumez]], [[Ilya Kuprov]], [[Ludmilla Guduff]]''
 
''Version 1.9, authors: [[Jean-Nicolas Dumez]], [[Ilya Kuprov]], [[Ludmilla Guduff]]''

Revision as of 11:19, 17 January 2017

Ultrafast DOSY pulse sequence. Syntax:

            fid=spendosy(spin_system,parameters,H,R,K,G,F)

The following parameters are required

parameters.dims           size of the sample in m

parameters.npts           number of spin packets

parameters.spins          nuclei on which the sequence runs

parameters.deltat         timestep for acquisition

parameters.npoints        number of acquired points for each 
                          gradient readout

parameters.nloops         number of loop, where each loop consists of 
                          a positive and a negative readout

parameters.offset         offset 

parameters.cond           bondary conditions 

parameters.Ga             acquisition gradient in T/m

parameters.pulsenpoints   number of points in the pulse shape

parameters.smfactor       smoothing factor for the pulse

parameters.Te             duration of the pulse

parameters.Tau            duration extra dephasing gradient

parameters.BW             bandwidth of the pulse

parameters.Ge             encoding gradient in T/m

parameters.chirptype      can be 'wurst' or 'smoothed'
 
parameters.td             diffusion delay 

H                         Fokker-Planck Hamiltonian

R                         Fokker-Planck relaxation superoperator

K                         Fokker-Planck kinetics superoperator

G                         Fokker-Planck gradient superoperators

F                         Fokker-Planck diffusion and flow superoperator

Note: the last five parameters are built automatically by the imaging context function.


Version 1.9, authors: Jean-Nicolas Dumez, Ilya Kuprov, Ludmilla Guduff