# 1 "/opt/topspin1.3/exp/stan/nmr/lists/pp/kum_cosy-tocsy(dipsi)_relay"
;kumar
;cosy-tocsy-relay
;avance-version (00/04/28)
;2D homonuclear shift correlation
;using gradient pulses for selection

# 1 "/opt/topspin1.3/exp/stan/nmr/lists/pp/Avance.incl" 1
;Avance.incl
;
;avance-version (03/02/17)


















































































































;$Id: Avance1.incl,v 1.10 2003/02/25 14:46:08 ber Exp $
# 7 "/opt/topspin1.3/exp/stan/nmr/lists/pp/kum_cosy-tocsy(dipsi)_relay" 2

# 1 "/opt/topspin1.3/exp/stan/nmr/lists/pp/Grad.incl" 1
;Grad.incl  -  include file for Gradient Spectroscopy
;
;avance-version (02/05/31)
;
;$CLASS=HighRes Incl
;$COMMENT=



















define list<gradient> EA=<EA>



;$Id: Grad1.incl,v 1.7.10.1 2005/11/10 13:18:56 ber Exp $
# 8 "/opt/topspin1.3/exp/stan/nmr/lists/pp/kum_cosy-tocsy(dipsi)_relay" 2

# 1 "/opt/topspin1.3/exp/stan/nmr/lists/pp/Delay.incl" 1
;Delay.incl  -  include file for commonly used delays
;
;version 00/02/07
;
;$CLASS=HighRes Incl
;$COMMENT=


;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 TAU
define delay TAU1
define delay TAU2
define delay TAU3
define delay TAU4
define delay TAU5


;delays for centering pulses

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

define loopcounter COUNTER
define loopcounter SCALEF
define loopcounter FACTOR1
define loopcounter FACTOR2
define loopcounter FACTOR3



;$Id: Delay.incl,v 1.11.10.1 2005/11/10 13:18:56 ber Exp $
# 9 "/opt/topspin1.3/exp/stan/nmr/lists/pp/kum_cosy-tocsy(dipsi)_relay" 2



"p7=p6*2"
"d13=4u"

"d0=in0/2-p1*2/3.1416-4u"
"FACTOR1=(d9/(p6*115.112))/2+0.5"
"l1=FACTOR1*2"


1 ze
2 d1
3 50u
  p1 ph1
  d0
  d13 setnmr2|0 setnmr0|34|32|33
  p16:gp1
  d16
  p1 ph2
  d13
  p16:gp1
  d16 
  goscnp ph31
  d13 wr #1 

  p1 ph2
  p16:gp3
  d16
  4u pl10:f1
  
						;begin DIPSI2
4 p6*3.556 ph23
  p6*4.556 ph25
  p6*3.222 ph23
  p6*3.167 ph25
  p6*0.333 ph23
  p6*2.722 ph25
  p6*4.167 ph23
  p6*2.944 ph25
  p6*4.111 ph23
  
  p6*3.556 ph25
  p6*4.556 ph23
  p6*3.222 ph25
  p6*3.167 ph23
  p6*0.333 ph25
  p6*2.722 ph23
  p6*4.167 ph25
  p6*2.944 ph23
  p6*4.111 ph25

  p6*3.556 ph25
  p6*4.556 ph23
  p6*3.222 ph25
  p6*3.167 ph23
  p6*0.333 ph25
  p6*2.722 ph23
  p6*4.167 ph25
  p6*2.944 ph23
  p6*4.111 ph25

  p6*3.556 ph23
  p6*4.556 ph25
  p6*3.222 ph23
  p6*3.167 ph25
  p6*0.333 ph23
  p6*2.722 ph25
  p6*4.167 ph23
  p6*2.944 ph25
  p6*4.111 ph23
  lo to 4 times l1
						;end DIPSI2
  d12 pl1:f1
  p1 ph2

  d13
  p16:gp2
  d16 setnmr2^0 setnmr0^34^32^33
  goscnp ph31
  d1 wr #2
  lo to 3 times 2
  30u if #1
  30u if #2
  30u id0
  lo to 3 times td1
exit


ph1=0 2 
ph2=0
ph23=3
ph25=1
ph31=0 2 


;pl1 : f1 channel - power level for pulse (default)
;pl10: f1 channel - power level for TOCSY-spinlock
;p1 : f1 channel -  90 degree high power pulse
;p5 : f1 channel -  60 degree low power pulse
;p6 : f1 channel -  90 degree low power pulse
;p7 : f1 channel - 180 degree low power pulse
;p17: f1 channel - trim pulse                        [2.5 msec]
;d0 : incremented delay (2D)
;d1 : relaxation delay; 1-5 * T1
;d9 : TOCSY mixing time
;d12: delay for power switching                      [20 usec]
;l1: loop for MLEV cycle: (((p6*64) + p5) * l1) + (p17*2) = mixing time
;in0: 1/(1 * SW) = 2 * DW
;nd0: 1
;NS: 8 * n
;DS: 16
;td1: number of experiments
;FnMODE: States-TPPI, TPPI, States or QSEQ
