;Anti z-COSY pulse sequence that has been modified to include an inversion-recovery element for T1 relaxation measurements.
;Includes suppression of ZQ and axial peaks.

#include <Avance.incl>
#include <Grad.incl>


define loopcounter count
"count=td1/2"

1 ze
2 50u BLKGRAD
  d1 pl1:f1
3 p12:sp2:f1 ph1
  d10
  p1 ph2
  d0
  p1*0.111 ph3
  3u pl2:f1
  50u UNBLKGRAD
  300u gron0
  p11:sp1:f1 ph4
  100u groff
  30u pl1:f1
  d2
  p17:gp1
  d3
  p1*0.111 ph5
  go=2 ph31
  50u BLKGRAD
  d1 wr #0 if #0 zd

4 50u BLKGRAD
  d1 pl1:f1
5 p12:sp2:f1 ph6
  d10
  p1 ph7
  d0
  p1*0.111 ph8
  3u pl2:f1
  50u UNBLKGRAD
  300u gron0
  p11:sp1:f1 ph9
  100u groff
  30u pl1:f1
  d2
  p17:gp1
  d3
  p1*0.111 ph10
  go=4 ph14
  50u BLKGRAD
  d1 wr #0 if #0 zd

  30u id0
  lo to 3 times count
exit

ph1=0
ph2=0 2
ph3=0
ph4=0
ph5=0
ph6=0
ph7=1 3
ph8=0
ph9=0
ph10=0
ph31=0 2
ph14=0 2

;pl1 : high power
;pl2 : zero power (120 dB)
;p1 : 90 degree high power pulse
;p11 : duration of sweep for ZQ suppression
;p12 : duration of inversion pulse
;p17 : duration of homospoil			[5 msec]
;d0 : incremented delay
;d1 : relaxation delay
;d2 : gradient recovery delay			[2 msec]
;d3 : gradient recovery delay			[2 msec]
;d10 : inversion recovery delay
;sp1 : power for sweep
;sp2 : power of inversion pulse
;gpz0 : gradient strength for ZQ suppression
;gpz1 : gradient strength for homospoil		[50%]
;in0 : 1/(2 * SW) = DW
;nd0 : 1
;NS : 2 * n
;DS : 8
;td1 : twice the number of t1 increments
;count : actual number of t1 increments
;MC2 : States
