# 1 "/opt/topspin3.2pl7/exp/stan/nmr/lists/pp/cosygpprqf"
;cosygpprqf
;avance-version (12/01/11)
;2D homonuclear shift correlation
;with presaturation during relaxation delay
;using gradient pulses for selection
;
;$CLASS=HighRes
;$DIM=2D
;$TYPE=
;$SUBTYPE=
;$COMMENT=


# 1 "/opt/topspin3.2pl7/exp/stan/nmr/lists/pp/Avance.incl" 1
;Avance2.incl
;   for TCU3
;
;avance-version (13/06/17)
;
;$CLASS=HighRes Incl
;$COMMENT=
# 145 "/opt/topspin3.2pl7/exp/stan/nmr/lists/pp/Avance.incl"
;$Id: Avance2.incl,v 1.23.8.3 2013/08/30 09:44:49 ber Exp $
# 14 "/opt/topspin3.2pl7/exp/stan/nmr/lists/pp/cosygpprqf" 2

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


# 31 "/opt/topspin3.2pl7/exp/stan/nmr/lists/pp/Grad.incl"
;$Id: Grad2.incl,v 1.13.8.1 2012/01/31 17:56:17 ber Exp $
# 15 "/opt/topspin3.2pl7/exp/stan/nmr/lists/pp/cosygpprqf" 2


# 18 "/opt/topspin3.2pl7/exp/stan/nmr/lists/pp/cosygpprqf"
"d11=30m"
"d12=20u"


"in0=inf1"
# 24 "/opt/topspin3.2pl7/exp/stan/nmr/lists/pp/cosygpprqf"
"d0=3u"


# 1 "mc_line 27 file /opt/topspin3.2pl7/exp/stan/nmr/lists/pp/cosygpprqf exp. def. part of mc cmd. before ze"
define delay MCWRK
define delay MCREST
define delay d0orig
"d0orig=d0"
define loopcounter t1loop
"t1loop=0"
define loopcounter ph1loop
"ph1loop=0"
define loopcounter ST1CNT
"ST1CNT = td1 / 1"
"MCREST = d11 - d11"
"MCWRK = 0.500000*d11"

    dccorr
# 27 "/opt/topspin3.2pl7/exp/stan/nmr/lists/pp/cosygpprqf"
1 ze
# 1 "mc_line 27 file /opt/topspin3.2pl7/exp/stan/nmr/lists/pp/cosygpprqf exp. def. of mc cmd. after ze"
      "d0=d0orig + t1loop * in0 "
# 28 "/opt/topspin3.2pl7/exp/stan/nmr/lists/pp/cosygpprqf"
# 1 "mc_line 28 file /opt/topspin3.2pl7/exp/stan/nmr/lists/pp/cosygpprqf exp. start label for mc cmd."
2 MCWRK 
LBLST1, MCWRK
  MCREST
# 29 "/opt/topspin3.2pl7/exp/stan/nmr/lists/pp/cosygpprqf"
3 d12 pl9:f1
  d1 cw:f1 ph29
  4u do:f1
  d12 pl1:f1
  p1 ph1
  d0
  50u setnmr3|0 setnmr0|34|32|33 ctrlgrad 0
  p16:gp1
  d16
  p0 ph2
  4u
  p16:gp1
  d16
  4u setnmr3^0 setnmr0^34^32^33 ctrlgrad 7
  go=2 ph31
# 1 "mc_line 44 file /opt/topspin3.2pl7/exp/stan/nmr/lists/pp/cosygpprqf exp. mc cmd. in line"
  MCWRK  wr #0 if #0 zd 

  "t1loop+=1"
      "d0=d0orig + t1loop * in0 "
  lo to LBLST1 times ST1CNT
  MCWRK 
  "t1loop=0"
  MCWRK
# 45 "/opt/topspin3.2pl7/exp/stan/nmr/lists/pp/cosygpprqf"
exit
# 48 "/opt/topspin3.2pl7/exp/stan/nmr/lists/pp/cosygpprqf"
ph1=0 2
ph2=0 0 2 2
ph29=0
ph31=0 2


;pl1 : f1 channel - power level for pulse (default)
;pl9 : f1 channel - power level for presaturation
;p0 : f1 channel -  20 to 90 degree high power pulse
;p1 : f1 channel -  90 degree high power pulse
;p16: homospoil/gradient pulse
;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]
;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
# 72 "/opt/topspin3.2pl7/exp/stan/nmr/lists/pp/cosygpprqf"
;use gradient ratio:	gp 1
;			  10

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

;use gradient files:   
;gpnam1: SMSQ10.100
# 83 "/opt/topspin3.2pl7/exp/stan/nmr/lists/pp/cosygpprqf"
;$Id: cosygpprqf,v 1.4.8.1 2012/01/31 17:56:21 ber Exp $
