# 1 "/root/.topspin-BladeEpu/local_acqu/ppDirs/cosygpppqf.ptype"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/root/.topspin-BladeEpu/local_acqu/ppDirs/cosygpppqf.ptype"
;cosygpppqf
;avance-version (12/01/11)
;2D homonuclear shift correlation
;using gradient pulses for selection
;using purge pulses before d1
;P-type sequence!
;
;$CLASS=HighRes
;$DIM=2D
;$TYPE=
;$SUBTYPE=
;$COMMENT=
;$RECOMMEND=y


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


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


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


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


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


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

# 1 "/root/.topspin-BladeEpu/local_acqu/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/ppDirs/Grad.incl"
define list<gradient> EA=<EA>


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


"d11=30m"
"d12=20u"
"d13=4u"
# 25 "/root/.topspin-BladeEpu/local_acqu/ppDirs/cosygpppqf.ptype"
"in0=inf1"

"d0=3u"

# 1 "mc_line 30 file /root/.topspin-BladeEpu/local_acqu/ppDirs/cosygpppqf.ptype exp. def. part of mc cmd. before ze"
; dimension 2D; AQ_mode  (F1) QF
define delay MCWRK
define delay MCREST
define delay d0orig
"d0orig=d0"
define loopcounter t1loop
"t1loop=0"
define loopcounter ph1loop
"ph1loop=0"
define loopcounter F1CNT
"F1CNT = min( 1 , td1)"
define loopcounter ST1CNT
"ST1CNT = max( 1 , trunc(td1 / 1))"
"MCREST = d11 - d11"
"MCWRK = 0.500000*d11"
# 30 "/root/.topspin-BladeEpu/local_acqu/ppDirs/cosygpppqf.ptype"
# 30 "/root/.topspin-BladeEpu/local_acqu/ppDirs/cosygpppqf.ptype"
1 ze
# 1 "mc_line 30 file /root/.topspin-BladeEpu/local_acqu/ppDirs/cosygpppqf.ptype exp. def. of mc cmd. after ze"
LBLAV, MCWRK
      "d0=d0orig + t1loop * in0 "
# 31 "/root/.topspin-BladeEpu/local_acqu/ppDirs/cosygpppqf.ptype"
# 1 "mc_line 31 file /root/.topspin-BladeEpu/local_acqu/ppDirs/cosygpppqf.ptype exp. start label for mc cmd."
2 MCWRK 
LBLST1, MCWRK
  MCREST
# 32 "/root/.topspin-BladeEpu/local_acqu/ppDirs/cosygpppqf.ptype"

3 d12 pl10:f1
  p17 ph3
  p17*2 ph4
  d1 pl1:f1

  p1 ph1
  d0
  50u setrtp0|0 ctrlgrad 0
  p16:gp1
  d16
  p0 ph2
  d13
  p16:gp1*-1
  d16
  4u setrtp0^0 ctrlgrad 4047
  go=2 ph31
# 1 "mc_line 49 file /root/.topspin-BladeEpu/local_acqu/ppDirs/cosygpppqf.ptype exp. mc cmd. in line"
  MCWRK  wr #0 if #0 zd 

  "t1loop+=1 * (1 - kronecker_delta(1 , td1) )"
      "d0=d0orig + t1loop * in0 "
  lo to LBLST1 times ST1CNT
  MCWRK 
  "t1loop=0"
  MCWRK rf #0
  lo to LBLAV times tdav
# 50 "/root/.topspin-BladeEpu/local_acqu/ppDirs/cosygpppqf.ptype"
exit
# 53 "/root/.topspin-BladeEpu/local_acqu/ppDirs/cosygpppqf.ptype"
ph1=0 2
ph2=0 0 2 2
ph3=0
ph4=1
ph31=0 2


;pl1 : f1 channel - power level for pulse (default)
;pl10: f1 channel - power level for TOCSY-spinlock
;p0 : f1 channel -  20 to 90 degree high power pulse
;p1 : f1 channel -  90 degree high power pulse
;p16: homospoil/gradient pulse
;p17: f1 channel - trim pulse                             [2.5 msec]
;d0 : incremented delay (2D)                              [3 usec]
;d1 : relaxation delay; 1-5 * T1
;d11: delay for disk I/O                                  [30 msec]
;d12: delay for power switching                           [20 usec]
;d13: short delay                                         [4 usec]
;d16: delay for homospoil/gradient recovery
;inf1: 1/SW = 2 * DW
;in0: 1/(1 * SW) = 2 * DW
;nd0: 1
;ns: 1 * n
;ds: 16
;td1: number of experiments
;FnMODE: QF
# 80 "/root/.topspin-BladeEpu/local_acqu/ppDirs/cosygpppqf.ptype"
;use gradient ratio:	gp 1
;			  10

;for z-only gradients:
;gpz1: 10%

;use gradient files:   
;gpnam1: SMSQ10.100
# 89 "/root/.topspin-BladeEpu/local_acqu/ppDirs/cosygpppqf.ptype"
;Processing:
;Reverse (F1)=true


;$Id: cosygpppqf,v 1.8 2012/01/31 17:49:22 ber Exp $
