# 1 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/zgzrseig2hf4"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/zgzrseig2hf4"
;zgzrseig2hf4
;MM
;13C 1D sequence with z-restored spin-echo
;1H decoupling during d1 and acq
;2H inverse gated decoupling
;
;$CLASS=HighRes
;$DIM=1D
;$TYPE=
;$SUBTYPE=
;$COMMENT=


# 1 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/Avance.incl" 1
;Avance4.incl
;   for AV 4
;
;avance-version (16/08/18)
;
;$CLASS=HighRes Incl
;$COMMENT=


# 19 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/Avance.incl"
;setrtp0 denotes TimingController


# 50 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/Avance.incl"
# 51 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/Avance.incl"


# 63 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/Avance.incl"
# 89 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/Avance.incl"
# 90 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/Avance.incl"


# 123 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/Avance.incl"
;#define LOWQ
;#define HIGHQ


;#define MIX_UP
;#define MIX_DOWN
# 136 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/Avance.incl"
;$Id: Avance4.incl,v 1.11 2016/11/11 13:43:39 ber Exp $
# 15 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/zgzrseig2hf4" 2

# 1 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/Grad.incl" 1
;Grad4.incl  -  include file for Gradient Spectroscopy
;   for AV 4
;
;avance-version (16/05/23)
;
;$CLASS=HighRes Incl
;$COMMENT=

# 26 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/Grad.incl"
define list<gradient> EA=<EA>


# 30 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/Grad.incl"
;$Id: Grad4.incl,v 1.6 2016/11/11 13:43:39 ber Exp $
# 16 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/zgzrseig2hf4" 2

# 1 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/Delay.incl" 1
;Delay.incl  -  include file for commonly used delays
;
;version (13/08/07)
;
;$CLASS=HighRes Incl
;$COMMENT=

# 9 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/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 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/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 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/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 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/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 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/Delay.incl"
;$Id: Delay.incl,v 1.15 2013/08/30 09:42:06 ber Exp $
# 17 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/zgzrseig2hf4" 2

prosol relations=<triple_c>

"d11=30m"
"d12=20u"
"p19=0.5m"
"p16=1m"
# 25 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/zgzrseig2hf4"
"DELTA=d1-100m"
"p50=p1*cnst1"

"p61=80u"
"p62=750u"
;"plw13=plw2*pow(p3/p61,2)"
;"plw17=plw4*pow(p23/p62,2)"
;"pcpd 2=p61"
;"pcpd 4=p62"
;"plw13=plw2*pow(p3/p61,2)"
;"plw17=plw4*pow(p23/p62,2)"

"acqt0=0"
baseopt_echo
# 1 "mc_line 40 file /root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/zgzrseig2hf4 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"
# 40 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/zgzrseig2hf4"
# 40 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/zgzrseig2hf4"
1 ze
# 1 "mc_line 40 file /root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/zgzrseig2hf4 exp. def. of mc cmd. after ze"
# 41 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/zgzrseig2hf4"
  d11 pl12:f2 pl17:f4 
  50u setrtp0|0
  d11 h2pulse       ;SEL_2H plus interleave_incr
  d11 cpd2:f2

# 1 "mc_line 46 file /root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/zgzrseig2hf4 exp. start label for mc cmd."
2 MCWRK  * 2 do:f2  do:f4
LBLF0, MCWRK 
  MCREST
# 47 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/zgzrseig2hf4"
  30m h2lock         ;SEL_2H plus interleave_incr
  6m setrtp0^0
  10u pl13:f2
  d11 cpd2:f2  
  DELTA 
  50u setrtp0|0
  d12 h2pulse       ;SEL_2H plus interleave_incr 
  4u do:f2
  10u pl12:f2 setrtp0|0 ctrlgrad 0
  100m 
  (p8:sp13 ph1):f1
  p16:gp1
  d16 pl1:f1 cpd2:f2
  (p50 ph2):f1 
  p19:gp2
  d16
  13u
 (p24:sp7 ph3):f1
  p19:gp2
  d16
  4u setrtp0^0 ctrlgrad 4047
  go=2 ph31 cpd4:f4
# 1 "mc_line 69 file /root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/zgzrseig2hf4 exp. mc cmd. in line"
  MCWRK do:f2 pl13:f2 do:f4 wr #0
  MCWRK zd
  lo to LBLF0 times td0

# 70 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/zgzrseig2hf4"
  d11 do:f2
  d11 h2lock         ;SEL_2H plus interleave_incr 
  d11 setrtp0^0
  d11 
exit

# 77 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/zgzrseig2hf4"
ph1= 0 2 2 0 1 3 3 1
ph2= 0 2 2 0 1 3 3 1
ph3= 1 3 3 1 0 2 2 0
ph31=0 2 2 0 1 3 3 1


;pl1 : f1 channel - power level for pulse (default)
;pl12: f2 channel - power level for inverse gated decoupling
;pl13: f2 channel - power level for gated decoupling
;pl17: f4 channel - power level for CPD/BB decoupling
;p1 : f1 channel -  high power pulse
;p8 : f1 channel - sp13 Crp80.0.5.20.1 length .5ms
;p24 : f1 channel - sp7 Crp80comp.4 length 2ms
;p19: 0.5ms
;p16: 1ms
;d1 : relaxation delay; 1-5 * T1
;d11: delay for disk I/O                             [30 msec]
;ns: 4 * n, total number of scans: NS * TD0
;cpd2: decoupling according to sequence defined by cpdprg2
;cpd4: decoupling according to sequence defined by cpdprg4
;pcpd2: f2 channel - 90 degree pulse for decoupling sequence [80u]
;pcpd4: f4 channel - 90 degree pulse for decoupling sequence [750u]
;cnst1: 0.3-1 
;use gradient ratio:	gp 1 : gp 2 
;			  6 :   10
# 103 "/root/.topspin-BladeEpu/local_acqu/simulDirs/ppDirs/zgzrseig2hf4"
;for z-only gradients:
;gpz1: 6%
;gpz2: 10%

;use gradient files:   
;gpnam1: SMSQ10.100
;gpnam2: SMSQ10.100

;$Id: zgpg,v 1.11.8.1 2012/01/31 17:56:42 ber Exp $
