;one-shot reverse Sarkar sequence to refocus singlet state into magnetization after spin-lcoking and hydrogenation

"p3=p1*4"
"d3=1/(4*cnst1)"
"d4=1/(2*cnst2)"

1 ze
  d1
2 5u
  5u pl11:f1				; set spin-lock power/channel
  p11	ph1						; apply SL
  5u pl1:f1
  d2
  d4								;1/(2 niu)
  p1 ph2            ;hard 45 pulse
  d3								;1/(4J)
  p3 ph1						;hard 45 pulse
  d3								;1/(4J)
  go=2 ph31 

exit

ph1 = 0
ph2 = 1
ph31 = 0


;pl11: spin-locking power
;p11: spin locking duration
;p1: 45 degree pulse duration
;pl1: pulse power
;cnst1: J coupling between two spins
;d2: delay before the sequence
;cnst2: chemical shift difference (in Hz)