# 1 "/opt/topspin3.6.3/exp/stan/nmr/lists/pp/user/tsri_nhsqcwf.mc"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/opt/topspin3.6.3/exp/stan/nmr/lists/pp/user/tsri_nhsqcwf.mc"
;tsri_nhsqcwf.mc from
;tsri_nhsqcwf.2d from
;stdnhsqcwf.1d
;Water Flip-Back 1H-15N HSQC

;Pulses
;p1   : 7-9us 
;pl1  : -6dB
;p10  : 1m	water flipback during WATERGATE
;pl10 : ~37.2dB
;p20  : 2m	water flipback during ZZ filter 
;pl11 : ~44.3dB

;p5   : 30us
;pl5  : ~3dB
;pcpd3: 160u
;pl15 : ~20dB
# 19 "/opt/topspin3.6.3/exp/stan/nmr/lists/pp/user/tsri_nhsqcwf.mc"
;Gradients
;p21  : 2.5m ZZ filtration gradient 1
;gpx1 : +40% ZZ filtration gradient 1

;p22  : 1.0m ZZ filtration gradient 2
;gpx2 : -40% ZZ filtration gradient 2

;p23  : 0.5m WATERGATE water dephasing gradient
;gpx3 : +60% WATERGATE water dephasing gradient
;gpy3 : +60% WATERGATE water dephasing gradient
# 1 "/opt/topspin3.6.3/exp/stan/nmr/lists/pp/Avance.incl" 1
;Avance3.incl
;   for AV III
;
;avance-version (13/06/17)
;
;$CLASS=HighRes Incl
;$COMMENT=


# 169 "/opt/topspin3.6.3/exp/stan/nmr/lists/pp/Avance.incl"
;$Id: Avance3.incl,v 1.10.2.2 2013/08/30 09:43:33 ber Exp $
# 32 "/opt/topspin3.6.3/exp/stan/nmr/lists/pp/user/tsri_nhsqcwf.mc" 2

# 1 "/opt/topspin3.6.3/exp/stan/nmr/lists/pp/Delay.incl" 1
;Delay.incl  -  include file for commonly used delays
;
;version (13/08/07)
;
;$CLASS=HighRes Incl
;$COMMENT=

# 9 "/opt/topspin3.6.3/exp/stan/nmr/lists/pp/Delay.incl"
;general delays

define delay DELTA
define delay DELTA1
define delay DELTA2
define delay DELTA3
define delay DELTA4
define delay DELTA5
define delay DELTA6
define delay DELTA7
define delay DELTA8
define delay DELTA9
define delay DELTA10
define delay DELTA11
define delay DELTA12
define delay DELTA13
define delay DELTA14
define delay DELTA15
define delay DELTA16

define delay TAU
define delay TAU1
define delay TAU2
define delay TAU3
define delay TAU4
define delay TAU5
define delay TAU6
define delay TAU7
define delay TAU8
define delay TAU9
# 40 "/opt/topspin3.6.3/exp/stan/nmr/lists/pp/Delay.incl"
define delay INCR1
define delay INCR2
define delay INCR3
define delay INCR4
define delay INCR5
define delay INCR6


;delays for centering pulses
# 50 "/opt/topspin3.6.3/exp/stan/nmr/lists/pp/Delay.incl"
define delay CEN_HN1
define delay CEN_HN2
define delay CEN_HN3
define delay CEN_HC1
define delay CEN_HC2
define delay CEN_HC3
define delay CEN_HC4
define delay CEN_HP1
define delay CEN_HP2
define delay CEN_CN1
define delay CEN_CN2
define delay CEN_CN3
define delay CEN_CN4
define delay CEN_CP1
define delay CEN_CP2


;loop counters
# 69 "/opt/topspin3.6.3/exp/stan/nmr/lists/pp/Delay.incl"
define loopcounter COUNTER
define loopcounter SCALEF
define loopcounter FACTOR1
define loopcounter FACTOR2
define loopcounter FACTOR3
define loopcounter FACTOR4
define loopcounter FACTOR5
define loopcounter FACTOR6


# 80 "/opt/topspin3.6.3/exp/stan/nmr/lists/pp/Delay.incl"
;$Id: Delay.incl,v 1.14.2.1 2013/08/30 09:43:33 ber Exp $
# 33 "/opt/topspin3.6.3/exp/stan/nmr/lists/pp/user/tsri_nhsqcwf.mc" 2

# 1 "/opt/topspin3.6.3/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.6.3/exp/stan/nmr/lists/pp/Grad.incl"
define list<gradient> EA=<EA>


# 31 "/opt/topspin3.6.3/exp/stan/nmr/lists/pp/Grad.incl"
;$Id: Grad2.incl,v 1.14 2012/01/31 17:49:21 ber Exp $
# 34 "/opt/topspin3.6.3/exp/stan/nmr/lists/pp/user/tsri_nhsqcwf.mc" 2

;prosol relations=<tsri_hsqc>
prosol relations=<triple2>

 "in0=inf1/2"
# 40 "/opt/topspin3.6.3/exp/stan/nmr/lists/pp/user/tsri_nhsqcwf.mc"
 "d0=in0/2-p5*0.6366-p1"
 "d1=100ms"
;"d4=2.5m
 "d14=d4-p10-p23-4u"
 "d24=p5-p1"
;"d30=50u";Gradient recovery delay
;"d31=2s"

# 1 "mc_line 48 file /opt/topspin3.6.3/exp/stan/nmr/lists/pp/user/tsri_nhsqcwf.mc exp. def. part of mc cmd. before ze"
; dimension 2D; AQ_mode  (F1) States-TPPI
define delay MCWRK
define delay MCREST
define loopcounter ST1CNT
"ST1CNT = trunc(td1 / 2)"
"MCREST = d31 - d1"
"MCWRK = 0.333333*d1"

    dccorr
# 48 "/opt/topspin3.6.3/exp/stan/nmr/lists/pp/user/tsri_nhsqcwf.mc"
1   ze
# 1 "mc_line 48 file /opt/topspin3.6.3/exp/stan/nmr/lists/pp/user/tsri_nhsqcwf.mc exp. def. of mc cmd. after ze"
LBLAV, MCWRK
# 49 "/opt/topspin3.6.3/exp/stan/nmr/lists/pp/user/tsri_nhsqcwf.mc"
2   10u do:f2
    10u do:f3
    d1
# 1 "mc_line 52 file /opt/topspin3.6.3/exp/stan/nmr/lists/pp/user/tsri_nhsqcwf.mc exp. start label for mc cmd."
3 MCWRK 
LBLSTS1, MCWRK 
LBLF1, MCWRK
  MCREST
# 53 "/opt/topspin3.6.3/exp/stan/nmr/lists/pp/user/tsri_nhsqcwf.mc"
    10u pl1:f1
    10u pl13:f2
    10u pl5:f3
    50u setnmr3|0 setnmr0|34|32|33 ctrlgrad 0
    p1 ph0
    d4
    (d24 p1*2 ph11) (p5*2 ph0):f3
    d4
    p1 ph11
    10u pl11:f1
    p20 ph10:r
    10u pl1:f1
    	p21:gp1
    	d30
    5u cpd2:f2
    (p5 ph1):f3
    d0
    (p1*2 ph0)
    d0
    (p5 ph0):f3
    5u do:f2
    5u
    	p22:gp2
    	d30 pl11:f1
    p20 ph12:r
    10u pl1:f1
    p1 ph0
    	p23:gp3
    d14 pl10:f1
    4u
    p10 ph2:r
    10u pl1:f1
    (d24 p1*2 ph3) (p5*2 ph0):f3
    10u pl10:f1
    p10 ph2:r
    	p23:gp3
    d14 pl15:f3
    4u setnmr3^0 setnmr0^34^32^33 ctrlgrad 7
    go=2 ph31 cpd3:f3
    10u do:f2
    10u do:f3
# 1 "mc_line 94 file /opt/topspin3.6.3/exp/stan/nmr/lists/pp/user/tsri_nhsqcwf.mc exp. mc cmd. in line"
  MCWRK  wr #0 if #0 zd ip1
  lo to LBLSTS1 times 2
  MCWRK id0
  lo to LBLF1 times ST1CNT
  MCWRK rf #0
  lo to LBLAV times tdav
# 95 "/opt/topspin3.6.3/exp/stan/nmr/lists/pp/user/tsri_nhsqcwf.mc"
exit

    ph0 = 0
    ph1 = 0 2
    ph2 = 0 0 2 2	;phcor2
    ph3 = 2 2 0 0
    ph10= 0
    ph11= 1
    ph12= 2
    ph31= 0 2
