# 1 "/opt/topspin3.5pl5/exp/stan/nmr/lists/pp/zgpurge"
;zgpurge
;avance-version (14/10/10)
;1D sequence with f1 presaturation
;   and purge element
;
;A.J. Simpson & S.A. Brown, J. Magn. Reson. 175, 
;   340-346 (2005)
;
;$CLASS=HighRes
;$DIM=1D
;$TYPE=
;$SUBTYPE=
;$COMMENT=


# 1 "/opt/topspin3.5pl5/exp/stan/nmr/lists/pp/Avance.incl" 1
;Avance3aqs.incl
;   for AV III with AQS IPSO
;
;avance-version (15/06/05)
;
;$CLASS=HighRes Incl
;$COMMENT=
# 170 "/opt/topspin3.5pl5/exp/stan/nmr/lists/pp/Avance.incl"
;$Id: Avance3aqs.incl,v 1.1.8.3 2015/03/05 16:46:54 ber Exp $
# 16 "/opt/topspin3.5pl5/exp/stan/nmr/lists/pp/zgpurge" 2

# 1 "/opt/topspin3.5pl5/exp/stan/nmr/lists/pp/Grad.incl" 1
;Grad2.incl  -  include file for Gradient Spectroscopy
;   for TCU3
;
;avance-version (07/01/17)
;
;$CLASS=HighRes Incl
;$COMMENT=

# 27 "/opt/topspin3.5pl5/exp/stan/nmr/lists/pp/Grad.incl"
define list<gradient> EA=<EA>


# 31 "/opt/topspin3.5pl5/exp/stan/nmr/lists/pp/Grad.incl"
;$Id: Grad2.incl,v 1.14 2012/01/31 17:49:21 ber Exp $
# 17 "/opt/topspin3.5pl5/exp/stan/nmr/lists/pp/zgpurge" 2


# 20 "/opt/topspin3.5pl5/exp/stan/nmr/lists/pp/zgpurge"
"p2=p1*2"


"acqt0=-p1*2/3.1416"
# 1 "mc_line 26 file /opt/topspin3.5pl5/exp/stan/nmr/lists/pp/zgpurge exp. def. part of mc cmd. before ze"
; dimension 1D; AQ_mode 
define delay MCWRK
define delay MCREST
"MCREST = 30m - 30m"
"MCWRK = 0.333333*30m"

    dccorr
# 26 "/opt/topspin3.5pl5/exp/stan/nmr/lists/pp/zgpurge"
# 26 "/opt/topspin3.5pl5/exp/stan/nmr/lists/pp/zgpurge"
1 ze
# 1 "mc_line 26 file /opt/topspin3.5pl5/exp/stan/nmr/lists/pp/zgpurge exp. def. of mc cmd. after ze"
# 27 "/opt/topspin3.5pl5/exp/stan/nmr/lists/pp/zgpurge"
# 1 "mc_line 27 file /opt/topspin3.5pl5/exp/stan/nmr/lists/pp/zgpurge exp. start label for mc cmd."
2 MCWRK  * 2
LBLF0, MCWRK
  MCREST
# 28 "/opt/topspin3.5pl5/exp/stan/nmr/lists/pp/zgpurge"

  4u pl9:f1
  d1 cw:f1 ph29
  4u do:f1
  4u pl1:f1
  50u setnmr3|0 setnmr0|34|32|33 ctrlgrad 0

  p1 ph1
  4u pl9:f1
  d20 cw:f1 ph29
  4u do:f1
  4u pl1:f1
  p2 ph1
  4u pl9:f1
  d20 cw:f1 ph29
  4u do:f1
  4u pl1:f1
  p1 ph2
# 47 "/opt/topspin3.5pl5/exp/stan/nmr/lists/pp/zgpurge"
  p16:gp1
  d16 pl9:f1
  d21 cw:f1 ph29
  4u do:f1
  p16:gp2
  d16 pl1:f1

  p1 ph3
  4u pl9:f1
  d20 cw:f1 ph29
  4u do:f1
  4u pl1:f1
  p2 ph1
  4u pl9:f1
  d20 cw:f1 ph29
  4u do:f1
  4u pl1:f1
  p1 ph4

  p16:gp3
  d16 pl9:f1
  d21 cw:f1 ph29
  4u do:f1
  p16:gp4
  d16 pl1:f1
  4u setnmr3^0 setnmr0^34^32^33 ctrlgrad 7
# 74 "/opt/topspin3.5pl5/exp/stan/nmr/lists/pp/zgpurge"
  p1 ph3
  go=2 ph31
# 1 "mc_line 76 file /opt/topspin3.5pl5/exp/stan/nmr/lists/pp/zgpurge exp. mc cmd. in line"
  MCWRK wr #0
  MCWRK zd
  lo to LBLF0 times td0

# 77 "/opt/topspin3.5pl5/exp/stan/nmr/lists/pp/zgpurge"
exit


ph1=0
ph2=0 0 2 2
ph3=0 0 0 0 2 2 2 2 1 1 1 1 3 3 3 3
ph4=0 2 0 2 2 0 2 0 1 3 1 3 3 1 3 1
ph29=0
ph31=0 2 2 0 2 0 0 2 3 1 1 3 1 3 3 1
# 88 "/opt/topspin3.5pl5/exp/stan/nmr/lists/pp/zgpurge"
;pl1 : f1 channel - power level for pulse (default)
;pl9 : f1 channel - power level for presaturation
;p1 : f1 channel -  90 degree high power pulse
;p2 : f1 channel - 180 degree high power pulse
;p16: homospoil/gradient pulse
;d1 : relaxation delay; 1-5 * T1
;d16: delay for homospoil/gradient recovery
;d20: T2 filter delay (between 3us and 15ms)         [200 usec]
;d21: delay in z-filter (T1 filter)                  [200 usec]
;ns: 1 * n, total number of scans: NS * TD0


;for z-only gradients:
;gpz1: -13.17%
;gpz2: 52.68%
;gpz3: -17.13%
;gpz4: 68.52%
# 106 "/opt/topspin3.5pl5/exp/stan/nmr/lists/pp/zgpurge"
;use gradient files:
;gpnam1: SMSQ10.100
;gpnam2: SMSQ10.100
;gpnam3: SMSQ10.100
;gpnam4: SMSQ10.100


# 114 "/opt/topspin3.5pl5/exp/stan/nmr/lists/pp/zgpurge"
;$Id: zgpurge,v 1.2.2.1 2014/10/10 09:21:10 ber Exp $
