This shows you the differences between two versions of the page.
|
analytic_z-spectra-cw-2pool [2016/02/14 00:05] |
analytic_z-spectra-cw-2pool [2021/10/11 13:22] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Analytic Z-spectra | ||
| + | Here you find analytic solutions of the Bloch-McConnell equations describing Z-spectra. | ||
| + | This is the R< | ||
| + | |||
| + | |||
| + | It is a very lean code to give you a tool illustrating the principal behaviour of a CEST effect and its interaction with the direct water saturation. | ||
| + | |||
| + | Dowload zipped Matlab implementations [[https:// | ||
| + | |||
| + | ====== | ||
| + | |||
| + | {{youtube> | ||
| + | |||
| + | |||
| + | ===== The code ====== | ||
| + | === BATCH_Z_cw === | ||
| + | |||
| + | First the pool parameters are defined in the parameter struct P: | ||
| + | <code matlab> | ||
| + | |||
| + | %% SETUP | ||
| + | %pool system parameters | ||
| + | %water pool A | ||
| + | P.R1A=1/ | ||
| + | P.R2A=2; | ||
| + | P.dwA=0; | ||
| + | |||
| + | %CEST pool B | ||
| + | P.fB=0.001; | ||
| + | P.kBA=200; | ||
| + | P.dwB=1.9; | ||
| + | P.R2B=30; | ||
| + | |||
| + | </ | ||
| + | Now the CEST sequence parameters are defined | ||
| + | <code matlab> | ||
| + | % sequence parameters | ||
| + | P.Zi=1; | ||
| + | P.FREQ=300; | ||
| + | P.B1=2; | ||
| + | P.tp=5; | ||
| + | P.xZspec= [-5:0.1:5]; % ppm | ||
| + | |||
| + | |||
| + | </ | ||
| + | |||
| + | Now the function Z_cw(P) is called and plotted: | ||
| + | |||
| + | <code matlab> | ||
| + | figure(32), plot(P.xZspec, | ||
| + | </ | ||
| + | |||
| + | === function Z_cw(P) === | ||
| + | |||
| + | {{ : | ||