status pulse program see below
*****************************************************************************************
*****************************************************************************************
****************************** used pulse program ***************************************
*****************************************************************************************
*****************************************************************************************

; MFhsqcwtgf3
; 62300 1000 0 4 0210 2
; -----------------
; 15N-HSQC with WATERGATE
; with optional 13C-decoupling
; with option to determine J(HN-Ha) coupling

; mf: MFhwqcwtgf3

;ds: use at least 4 dummy scans
;ns: !!!!! use 4*n scans only !!!!!
; -----------------
; Peter Schmieder
; Monika Beerbaum, 09.01.2012
; N-2015
;_________________________________

#include <FMP.incl>
#include <Avance.incl>
#include <Grad.incl>
#include <Delay.incl>

prosol relations=<fmp_2011_basic>

;--------------------------- pulses
"p2 = 2.0*p1"
"p6 = 2.0*p5"
;--------------------------- fix delays
"d11 = 30m"
"d12 = 20u"

"TAU = cnst1*4.5m"
"TAU1 = TAU/2.0"
"TAU2 = TAU1 - p61 - d61 - 1.69*d3"
"TAU3 = (d3 - p6)/2"

#  ifdef jna
"TAU4 = 2.75m"   
"d2 = d5 - TAU4 - p6"
#  endif /*jna*/
;--------------------------- evolution time parameters
"in0 = inf1/2"

#  ifdef cn
"d0 = (cnst0*in0 - 1.28*p5 - p30)/2"
#  else
"d0 = (cnst0*in0 - 1.28*p5 - p2)/2"
#  endif /*cn*/
;---------------------------

1 ze
2 d1 do:f3
# ifdef cn
  d12 pl62:f2
#  endif /*cn*/
  d12 pl3:f3
  p1 ph1
#  ifdef jna
  d5
  p2 ph1
  d2
  p6:f3 ph1
  TAU4
#  else
  TAU1
  (center (p2 ph1):f1 (p6 ph1):f3)
  TAU1
#  endif /*jna*/
  p1 ph4
  50u UNBLKGRAD
  p61:gp22
  d61
  p5:f3 ph5
  d0
#  ifdef cn
  (center (p2 ph1):f1 (p30:sp30 ph1):f2)
#  else
  p2 ph1
#  endif /*cn*/
  d0
  p5:f3 ph6
  50u
  p61:gp23
  d61
  p1 ph7
  50u
  p61:gp21
  d61
  TAU2
  p1*0.231 ph2
  d3
  p1*0.692 ph2
  d3
  p1*1.4621 ph2
  TAU3
  p6:f3 ph1
  TAU3
  p1*1.4621 ph3
  d3
  p1*0.692 ph3
  d3
  p1*0.231 ph3
  45u
  p61:gp21
  d61
  5u BLKGRAD
  TAU2 pl16:f3
  go=2 ph31 cpd3:f3
  d11 do:f3 mc #0 to 2
      F1PH(calph(ph5, +90), caldel(d0, +in0))
exit

ph1 = 0
ph2 = 1
ph3 = 3
ph4 = 1
ph5 = 0 2
ph6 = 0 0 2 2
ph7 = 2

ph27 = 0
ph28 = 2

ph31 = 0 2 2 0



;PARAMETER


;__________Pulses__________

;p1 :high power 90deg pulse f1 (pl1)
;p2 :high power 180deg pulse f1 (pl1)
;p5 :high power 90deg pulse f3 (pl3)
;p6 :high power 180deg pulse f3 (pl3)
;p30 :Bip 180deg broadband inversion f2 (8*90deg square)
;p61 :gradient pulse   [1 msec]


;_________power level for hard pulses__________

;pl1 :high power for hard pulses on protons
;pl3 :high power for hard pulses on 15N
;pl62 :dummy power f2     [1000dB]


;__________parameters for shaped pulses__________

;sp30 :power for Bip (same as for 90deg square)
;spnam30 :shape for broadband inversion [BIP720,50,20.1]
;spoffs30 :offset for Bip [0] (o2p = 115ppm)


;__________Gradients_________

;gpz21 :power for watergate gradient  [30%]
;gpz22 :power for 1. crusher gradient [35%]
;gpz23 :power for 2. crusher gradient [40%]
;gpnam21 :shape for gradient p61 [SINE.100]
;gpnam22 :shape for gradient p61 [SINE.100]
;gpnam23 :shape for gradient p61 [SINE.100]


;__________decoupling__________

;pcpd3 :90 deg 15N decoupling pulse (pl16)
;cpdprg3 :decoupling sequence in f3 [waltz16]
;pl16 :power for 15N cpd-decoupling


;_________delays__________

;d0 :incremented delay (2D)
;d1 :relaxation delay           [1.3 sec]
;d2 :calculated delay for HN-Ha coupling
;d3 :watergate delay (210u*600MHz/SpectFreq)
;d5 :delay for HN-Ha coupling set by setupjna
;d11 :delay for disk I/O          [30 msec]
;d12 :delay for power switching   [20 usec]
;d61 :gradient recovery delay    [500 usec]
;TAU :1/(2J) XH
;TAU1 :1/(4J) XH


;__________constants__________

;cnst0 :!!!!! scaling for first point ind. dim !!!!!
;cnst1 :scaling for 1/(2J) XH (TAU)
;cnst11 :first FID with inverse wfb


;__________increments__________

;in0 :increment for N


;__________options__________

;zgoptns :-Dcn and/or -Djna



;Type: HMQC/HSQC

*****************************************************************************************
*****************************************************************************************
****************************** status pulse program *************************************
*****************************************************************************************
*****************************************************************************************

# 1 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3"
; MFhsqcwtgf3
; 62300 1000 0 4 0210 2
; -----------------
; 15N-HSQC with WATERGATE
; with optional 13C-decoupling
; with option to determine J(HN-Ha) coupling

; mf: MFhwqcwtgf3

;ds: use at least 4 dummy scans
;ns: !!!!! use 4*n scans only !!!!!
; -----------------
; Peter Schmieder
; Monika Beerbaum, 09.01.2012
; N-2015
;_________________________________
# 1 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/FMP.incl" 1
; FMP.incl
; Peter Schmieder, 11.09.2003
; Monika Beerbaum, 04.09.2009

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 TAU0
define delay TAU6
define delay TAU7
define delay TAU8
define delay TAU9
# 20 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/FMP.incl"
define delay CP6P2
define delay CP5P2
define delay CP5P1
define delay CP2P3
define delay CP3P2
define delay CP3P1
define delay CP4P0
define delay CP4P1
define delay CP4P2
define delay CP4P6
define delay CP6P4
define delay CP6P8
define delay CP6P10
define delay CP6P12
define delay CP6P14
define delay CP8P6
define delay CP8P2
define delay CP9P2
define delay CP10P2
define delay CP10P6
define delay CP11P6
define delay CP11P2
define delay CP14P6
define delay CP12P2
define delay CP12P6
define delay CP13P11
define delay CP13P4
define delay CP13P6
define delay CP14P2
define delay CP14P4
define delay CP14P8
define delay CP16P6
define delay CPOM
define loopcounter max_TD1
define loopcounter max_TD2
define loopcounter max_TD3
# 18 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3" 2

# 1 "/opt/topspin3.2/exp/stan/nmr/lists/pp/Avance.incl" 1
;Avance3.incl
;   for AV III
;
;avance-version (13/06/17)
;
;$CLASS=HighRes Incl
;$COMMENT=

# 169 "/opt/topspin3.2/exp/stan/nmr/lists/pp/Avance.incl"
;$Id: Avance3.incl,v 1.9.8.3 2013/08/30 09:44:49 ber Exp $
# 19 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3" 2

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


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

# 1 "/opt/topspin3.2/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 "/opt/topspin3.2/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 "/opt/topspin3.2/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 "/opt/topspin3.2/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 "/opt/topspin3.2/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 "/opt/topspin3.2/exp/stan/nmr/lists/pp/Delay.incl"
;$Id: Delay.incl,v 1.13.8.2 2013/08/30 09:44:49 ber Exp $
# 21 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3" 2


prosol relations=<fmp_2011_basic>
# 25 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3"
;--------------------------- pulses
"p2 = 2.0*p1"
"p6 = 2.0*p5"
;--------------------------- fix delays
"d11 = 30m"
"d12 = 20u"

"TAU = cnst1*4.5m"
"TAU1 = TAU/2.0"
"TAU2 = TAU1 - p61 - d61 - 1.69*d3"
"TAU3 = (d3 - p6)/2"

# 41 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3"
;--------------------------- evolution time parameters
"in0 = inf1/2"


"d0 = (cnst0*in0 - 1.28*p5 - p30)/2"
# 49 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3"
;---------------------------

# 1 "mc_line 51 file /opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3 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 = d1 - d11"
"MCWRK = 0.200000*d11"

    dccorr
# 51 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3"
1 ze
# 1 "mc_line 51 file /opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3 exp. def. of mc cmd. after ze"
      "d0=d0orig + t1loop * in0 "
      "phval5 = (ph1loop % 4) * 90"
      MCWRK ip5 + phval5
# 52 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3"
# 1 "mc_line 52 file /opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3 exp. start label for mc cmd."
2 MCWRK  * 2 do:f3
LBLF1, MCWRK  * 2
LBLST1, MCWRK 
  MCREST
# 53 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3"

  d12 pl62:f2
# 56 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3"
  d12 pl3:f3
  p1 ph1


# 65 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3"
  TAU1
  (center (p2 ph1):f1 (p6 ph1):f3)
  TAU1

  p1 ph4
  50u setnmr3|0 setnmr0|34|32|33 ctrlgrad 0
  p61:gp22
  d61
  p5:f3 ph5
  d0

  (center (p2 ph1):f1 (p30:sp30 ph1):f2)
# 80 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3"
  d0
  p5:f3 ph6
  50u
  p61:gp23
  d61
  p1 ph7
  50u
  p61:gp21
  d61
  TAU2
  p1*0.231 ph2
  d3
  p1*0.692 ph2
  d3
  p1*1.4621 ph2
  TAU3
  p6:f3 ph1
  TAU3
  p1*1.4621 ph3
  d3
  p1*0.692 ph3
  d3
  p1*0.231 ph3
  45u
  p61:gp21
  d61
  5u setnmr3^0 setnmr0^34^32^33 ctrlgrad 7
  TAU2 pl16:f3
  go=2 ph31 cpd3:f3
# 1 "mc_line 109 file /opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3 exp. mc cmd. in line"
  MCWRK  do:f3 wr #0 if #0 zd 

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

  "t1loop+=1"
      "d0=d0orig + t1loop * in0 "
      "phval5 = (ph1loop % 4) * 90"
      MCWRK ip5 + phval5
  lo to LBLST1 times ST1CNT
  MCWRK 
  "t1loop=0"
  "ph1loop=0"
  MCWRK
# 111 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3"
exit

ph1 = 0
ph2 = 1
ph3 = 3
ph4 = 1
ph5 = 0 2
ph6 = 0 0 2 2
ph7 = 2

ph27 = 0
ph28 = 2
# 124 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3"
ph31 = 0 2 2 0


# 128 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3"
;PARAMETER


;__________Pulses__________
# 133 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3"
;p1 :high power 90deg pulse f1 (pl1)
;p2 :high power 180deg pulse f1 (pl1)
;p5 :high power 90deg pulse f3 (pl3)
;p6 :high power 180deg pulse f3 (pl3)
;p30 :Bip 180deg broadband inversion f2 (8*90deg square)
;p61 :gradient pulse   [1 msec]


;_________power level for hard pulses__________
# 143 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3"
;pl1 :high power for hard pulses on protons
;pl3 :high power for hard pulses on 15N
;pl62 :dummy power f2     [1000dB]


;__________parameters for shaped pulses__________
# 150 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3"
;sp30 :power for Bip (same as for 90deg square)
;spnam30 :shape for broadband inversion [BIP720,50,20.1]
;spoffs30 :offset for Bip [0] (o2p = 115ppm)


;__________Gradients_________
# 157 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3"
;gpz21 :power for watergate gradient  [30%]
;gpz22 :power for 1. crusher gradient [35%]
;gpz23 :power for 2. crusher gradient [40%]
;gpnam21 :shape for gradient p61 [SINE.100]
;gpnam22 :shape for gradient p61 [SINE.100]
;gpnam23 :shape for gradient p61 [SINE.100]


;__________decoupling__________
# 167 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3"
;pcpd3 :90 deg 15N decoupling pulse (pl16)
;cpdprg3 :decoupling sequence in f3 [waltz16]
;pl16 :power for 15N cpd-decoupling


;_________delays__________
# 174 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3"
;d0 :incremented delay (2D)
;d1 :relaxation delay           [1.3 sec]
;d2 :calculated delay for HN-Ha coupling
;d3 :watergate delay (210u*600MHz/SpectFreq)
;d5 :delay for HN-Ha coupling set by setupjna
;d11 :delay for disk I/O          [30 msec]
;d12 :delay for power switching   [20 usec]
;d61 :gradient recovery delay    [500 usec]
;TAU :1/(2J) XH
;TAU1 :1/(4J) XH


;__________constants__________
# 188 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3"
;cnst0 :!!!!! scaling for first point ind. dim !!!!!
;cnst1 :scaling for 1/(2J) XH (TAU)
;cnst11 :first FID with inverse wfb


;__________increments__________
# 195 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3"
;in0 :increment for N


;__________options__________
# 200 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3"
;zgoptns :-Dcn and/or -Djna


# 204 "/opt/topspin3.2/exp/stan/nmr/lists/pp/user/MFhsqcwtgf3"
;Type: HMQC/HSQC
