# 1 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/zgpg45"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/zgpg45"
;zgpg45
;avance-version (18/04/13)
;1D sequence with power-gated decoupling
;using 45 degree flip angle
;
;$CLASS=HighRes
;$DIM=1D
;$TYPE=
;$SUBTYPE=
;$COMMENT=
;$RECOMMEND=y


# 1 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/Avance.incl" 1
;Avance4.incl
;   for AV 4
;
;avance-version (16/08/18)
;
;$CLASS=Common Incl
;$COMMENT=


# 19 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/Avance.incl"
;setrtp0 denotes TimingController


# 50 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/Avance.incl"
# 51 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/Avance.incl"


# 63 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/Avance.incl"
# 89 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/Avance.incl"
# 90 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/Avance.incl"


# 123 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/Avance.incl"
;#define LOWQ
;#define HIGHQ


;#define MIX_UP
;#define MIX_DOWN
# 136 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/Avance.incl"
;$Id:$
# 15 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/zgpg45" 2

# 1 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/Delay.incl" 1
;Delay.incl  -  include file for commonly used delays
;
;version (13/08/07)
;
;$CLASS=Common Incl
;$COMMENT=

# 9 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/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 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/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 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/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 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/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 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/Delay.incl"
;$Id:$
# 16 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/zgpg45" 2


"d11=30m"
# 21 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/zgpg45"
"p0=p1/3"


"DELTA=d1-100m"
# 27 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/zgpg45"
"acqt0=-tan((p0/p1)*(PI/4))*p1*2/PI"


# 1 "mc_line 30 file /root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/zgpg45 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"
# 30 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/zgpg45"
1 ze
# 1 "mc_line 30 file /root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/zgpg45 exp. def. of mc cmd. after ze"
# 31 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/zgpg45"
  d11 pl12:f2
# 1 "mc_line 32 file /root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/zgpg45 exp. start label for mc cmd."
2 MCWRK  * 2 do:f2
LBLF0, MCWRK 
  MCREST
# 33 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/zgpg45"
  10u pl13:f2
  d11 cpd2:f2
  DELTA
  4u do:f2
  10u pl12:f2
  100m cpd2:f2
  p1*0.5 ph1
  go=2 ph31
# 1 "mc_line 41 file /root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/zgpg45 exp. mc cmd. in line"
  MCWRK do:f2 pl13:f2 wr #0
  MCWRK zd
  lo to LBLF0 times td0

# 42 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/zgpg45"
exit
# 45 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/zgpg45"
ph1=0 2 2 0 1 3 3 1
ph31=0 2 2 0 1 3 3 1


;pl1 : f1 channel - power level for pulse (default)
;pl12: f2 channel - power level for CPD/BB decoupling
;pl13: f2 channel - power level for second CPD/BB decoupling
;p1 : f1 channel -  90 degree high power pulse
;d1 : relaxation delay; 1-5 * T1
;d11: delay for disk I/O                             [30 msec]
;ns: 1 * n, total number of scans: NS * TD0
;cpd2: decoupling according to sequence defined by cpdprg2
;pcpd2: f2 channel - 90 degree pulse for decoupling sequence
# 61 "/root/.topspin-BladeEpu/local_acqu/MSS478/3/lists/pp/zgpg45"
;$Id: zgpg45,por GB
