# idosyzs.m

A simplified model of the Zangger-Sterk pure shift iDOSY pulse sequence for studies of the diffusional attenuation during soft pulses as described in https://doi.org/10.1016/j.jmr.2019.02.010.

## Syntax

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


## Arguments

  parameters.rho0           - initial state

parameters.coil           - detection state

parameters.spins          - nuclei on which the sequence runs

parameters.g_amp          - gradient amplitude for diffusion encoding, T/m

parameters.sel_g_amp      - gradient amplitude during the selective pulse, T/m

parameters.rf_phi         - phase of the inversion pulse, rad/s

parameters.delta_big      - length of the diffusion delay, s

parameters.delta_sml      - pulse width of the gradient for diffusion
encoding, s

parameters.rf_dur         - length of the selective 180 degree pulse, s

parameters.filename       - a character string specifying the pulse shape, e.g gaussian_1000.pk

parameters.pulse_npoints  - number of points in the soft pulse

parameters.diff           - diffusion constant, m^2/s

The last five parameters (H,R,K,G,F) are built automatically by imaging.m context function
when this sequence is called from that context.


## Outputs

  fid - Intensity is the first point in the FID


## Examples

An example is available in Spinach in: examples/nmr_spen/idosyzs_test_1.m.