# 1 "/opt/topspin3.0/exp/stan/nmr/lists/pp/hmbcgpndqf"
;hmbcgpndqf
;avance-version (09/04/17)
;HMBC
;2D H-1/X correlation via heteronuclear zero and double quantum
;   coherence
;optimized on long range couplings
;no decoupling during acquisition
;using gradient pulses for selection
;
;$CLASS=HighRes
;$DIM=2D
;$TYPE=
;$SUBTYPE=
;$COMMENT=


# 1 "/opt/topspin3.0/exp/stan/nmr/lists/pp/Avance.incl" 1
;Avance3.incl
;   for AV III
;
;avance-version (07/12/14)
;
;$CLASS=HighRes Incl
;$COMMENT=
# 165 "/opt/topspin3.0/exp/stan/nmr/lists/pp/Avance.incl"
;$Id: Avance3.incl,v 1.9 2009/07/02 16:40:43 ber Exp $
# 17 "/opt/topspin3.0/exp/stan/nmr/lists/pp/hmbcgpndqf" 2

# 1 "/opt/topspin3.0/exp/stan/nmr/lists/pp/Grad.incl" 1
;Grad2.incl  -  include file for Gradient Spectroscopy
;   for 1
;
;avance-version (07/01/17)
;
;$CLASS=HighRes Incl
;$COMMENT=

# 27 "/opt/topspin3.0/exp/stan/nmr/lists/pp/Grad.incl"
define list<gradient> EA=<EA>


# 31 "/opt/topspin3.0/exp/stan/nmr/lists/pp/Grad.incl"
;$Id: Grad2.incl,v 1.13 2009/07/02 16:40:43 ber Exp $
# 18 "/opt/topspin3.0/exp/stan/nmr/lists/pp/hmbcgpndqf" 2

  

"p2=p1*2"
"d6=1s/(cnst13*2)"
# 25 "/opt/topspin3.0/exp/stan/nmr/lists/pp/hmbcgpndqf"
"d0=3u"

"in0=inf1/2"

# 1 "mc_line 30 file /opt/topspin3.0/exp/stan/nmr/lists/pp/hmbcgpndqf 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)"
"MCWRK = 0.500000*d1"
"MCREST = d1 - d1"

    dccorr
# 30 "/opt/topspin3.0/exp/stan/nmr/lists/pp/hmbcgpndqf"
# 30 "/opt/topspin3.0/exp/stan/nmr/lists/pp/hmbcgpndqf"
1 ze 
# 1 "mc_line 30 file /opt/topspin3.0/exp/stan/nmr/lists/pp/hmbcgpndqf exp. def. of mc cmd. after ze"
# 31 "/opt/topspin3.0/exp/stan/nmr/lists/pp/hmbcgpndqf"
# 1 "mc_line 31 file /opt/topspin3.0/exp/stan/nmr/lists/pp/hmbcgpndqf exp. start label for mc cmd."
2 MCWRK 
LBLST1, MCWRK
  MCREST
# 32 "/opt/topspin3.0/exp/stan/nmr/lists/pp/hmbcgpndqf"
3 p1 ph1
  d6
  p3:f2 ph3
  d0
  50u setnmr3|0 setnmr0|34|32|33 ctrlgrad 0
  p16:gp1
  d16
  p2 ph2
  50u
  p16:gp2
  d16
  d0
  p3:f2 ph4
  4u
  p16:gp3
  d16
  4u setnmr3^0 setnmr0^34^32^33 ctrlgrad 7
  go=2 ph31
# 1 "mc_line 50 file /opt/topspin3.0/exp/stan/nmr/lists/pp/hmbcgpndqf 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
# 51 "/opt/topspin3.0/exp/stan/nmr/lists/pp/hmbcgpndqf"
exit 
  

ph1=0 
ph2=0 0 2 2
ph3=0 2
ph4=0 0 0 0 2 2 2 2
ph31=0 2 0 2 2 0 2 0

# 61 "/opt/topspin3.0/exp/stan/nmr/lists/pp/hmbcgpndqf"
;pl1 : f1 channel - power level for pulse (default)
;pl2 : f2 channel - power level for pulse (default)
;p1 : f1 channel -  90 degree high power pulse
;p2 : f1 channel - 180 degree high power pulse
;p3 : f2 channel -  90 degree high power pulse
;p16: homospoil/gradient pulse
;d0 : incremented delay (2D)                  [3 usec]
;d1 : relaxation delay; 1-5 * T1
;d6 : delay for evolution of long range couplings
;d16: delay for homospoil/gradient recovery
;cnst13: = J(XH) long range
;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: QF

;use gradient ratio:	gp 1 : gp 2 : gp 3
;			  50 :   30 : 40.1   for C-13
;			  70 :   30 : 50.1   for N-15

;for z-only gradients:
;gpz1: 50% for C-13, 70% for N-15
;gpz2: 30%
;gpz3: 40.1% for C-13, 50.1% for N-15
# 89 "/opt/topspin3.0/exp/stan/nmr/lists/pp/hmbcgpndqf"
;use gradient files:   
;gpnam1: SMSQ10.100
;gpnam2: SMSQ10.100
;gpnam3: SMSQ10.100


# 96 "/opt/topspin3.0/exp/stan/nmr/lists/pp/hmbcgpndqf"
;$Id: hmbcgpndqf,v 1.5 2009/07/02 16:40:44 ber Exp $
