# 1 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk"
;CLIPCOSY
;avance-version (10/02/12)
;Clean In-phase COSY
;2D H-1/H-1 correlation using in-phase transfer
;phase sensitive using states processing
;using shaped pulses for z-filter blocks
;
;$CLASS=HighRes
;$DIM=2D
;$TYPE=
;$SUBTYPE=
;$COMMENT=

# 1 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/Avance.incl" 1
;Avance2.incl
;   for TCU3
;
;avance-version (06/02/20)
;
;$CLASS=HighRes Incl
;$COMMENT=

# 125 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/Avance.incl"
;$Id: Avance.incl,v 1.2 2006/09/13 12:12:04 chjo Exp $
# 14 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk" 2

# 1 "C:/Bruker/TopSpin3.2_pl7/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 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/Grad.incl"
define list<gradient> EA=<EA>


# 31 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/Grad.incl"
;$Id: Grad2.incl,v 1.13.8.1 2012/01/31 17:56:17 ber Exp $
# 15 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk" 2

# 1 "C:/Bruker/TopSpin3.2_pl7/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 "C:/Bruker/TopSpin3.2_pl7/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 "C:/Bruker/TopSpin3.2_pl7/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 "C:/Bruker/TopSpin3.2_pl7/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 "C:/Bruker/TopSpin3.2_pl7/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 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/Delay.incl"
;$Id: Delay.incl,v 1.13.8.2 2013/08/30 09:44:49 ber Exp $
# 16 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk" 2


"p2=p1*2"
"d4=1s/(cnst2*4)"
"d11=30m"
"in0=inf1"
"d0=in0/2-p1*4/3.1416"
"acqt0=-p1*2/3.1416"
# 1 "mc_line 25 file C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk 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 / 2"
"MCREST = d11 - d11"
"MCWRK = 0.200000*d11"

    dccorr
# 25 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk"
# 25 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk"
1 ze 
# 1 "mc_line 25 file C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk exp. def. of mc cmd. after ze"
      "d0=d0orig + t1loop * in0 "
      "phval1 = (ph1loop % 4) * 90"
      MCWRK ip1 + phval1
# 26 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk"
# 1 "mc_line 26 file C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk exp. start label for mc cmd."
2 MCWRK  * 2
LBLF1, MCWRK  * 2
LBLST1, MCWRK pl1:f1
  MCREST
# 27 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk"
  d1 

;begin experiment 
  p1 ph1 setnmr3|0 setnmr0|34|32|33 ctrlgrad 0 ;excitation, ph10 cycled for states
  d0

;first filter block
  p1 ph10
  4u gron1 pl0:f1
  (p23:sp23 ph8):f1
  4u groff
  d16 pl1:f1
  p1 ph2
# 41 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk"
;in-phase transfer block, planar mixing
  d4
  p2 ph20
  d4
  p1 ph20
  d4
  p2 ph3
  d4

;second filter block
  p1 ph21
  4u gron2 pl0:f1 
  (p24:sp24 ph9):f1
  40u groff
  p16:gp3
  d16 pl1:f1 setnmr3^0 setnmr0^34^32^33 ctrlgrad 7
  p1 ph4 ;pulse cycled with ph31

  go=2 ph31 
# 1 "mc_line 60 file C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk exp. mc cmd. in line"
  MCWRK  wr #0 if #0 zd 

  "ph1loop+=1"
      "d0=d0orig + t1loop * in0 "
      "phval1 = (ph1loop % 4) * 90"
      MCWRK ip1 + phval1
  lo to LBLF1 times 2
  MCWRK 

  "t1loop+=1"
      "d0=d0orig + t1loop * in0 "
      "phval1 = (ph1loop % 4) * 90"
      MCWRK ip1 + phval1
  lo to LBLST1 times ST1CNT
  MCWRK 
  "t1loop=0"
  "ph1loop=0"
  MCWRK
# 62 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk"
exit 
# 64 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk"
;excitation, states, TPPI
ph1 = 0 0 0 0 2 2 2 2 2 2 2 2 0 0 0 0
ph10= 0
;shape pulse phase (z-filter)
ph8 = 0 1 0 1 1 0 1 0 3 2 3 2 2 3 2 3
ph9 = 2 3 2 3 3 2 3 2 1 0 1 0 0 1 0 1
;transfer block phases
ph2 = 0
ph20= 1 3 3 1
ph3 = 3 2 3 2; any phase
ph21= 0 0 2 2
;readout/receiver phase
ph4 = 0 ; any phase
ph31= 0 2 2 0 2 0 0 2 2 0 0 2 0 2 2 0


# 95 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk"
# 111 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk"
# 112 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk"


# 129 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk"
# 145 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk"
# 146 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk"


# 163 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk"
# 179 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk"
# 180 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk"


# 197 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk"
# 213 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk"
# 214 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk"


;pl0 : 0W
;pl1 : power level for pulse (default)
;sp23: shaped dephasing pulse
;p1 : 90 degree high power pulse
;p2 : 180 degree high power pulse
;p23: 180 degree shaped pulse for dephasing
;p16: homospoil/gradient pulse                        [1 msec]
# 224 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk"
;p23: 1st inversion pulse for dephasing (z-filter)
;p24: 2nd inversion pulse for dephasing (z-filter)
;spnam23: 1st inversion pulse for dephasing (z-filter)
;spnam24: 2nd inversion pulse for dephasing (z-filter)
;sp23: Power level for dephasing pulse (z-filter)
;sp24: Power level for dephasing pulse (z-filter)

;d0 : incremented delay (2D)                           [3 usec]
;d1 : relaxation delay; 1-5 * T1
;d4 : 1/(4J(HH))
;d11: delay for disk I/O                               [30 msec]
;d16: delay for homospoil/gradient recovery
;cnst2: > J(HH); 30 Hz
;inf1: 1/SW(X) = 2 * DW(X)
;in0: 1/(2 * SW(X)) = DW(X)
;nd0: 2
;NS: 2 * n
;DS: 16
;td1: number of experiments
;FnMODE: States-TPPI, TPPI, States or QSEQ

;for z-only gradients:
;gpz1: 7.2% 
;gpz2: -7.5%
;gpz3: -17.9%
# 250 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk"
;use gradient files:
;gpnam3: SMSQ10.100

;Processing

;PHC0(F1): 0
;PHC1(F1): -180
;FCOR(F1): 1
# 259 "C:/Bruker/TopSpin3.2_pl7/exp/stan/nmr/lists/pp/user/clipcosy.mk"
;$Id: clipcosy,v 0.9 2015/07/20 16:34:17 mk Exp $
