# al-zfilter-amplitude-24p2p3-cycling-p3.in # approach: 24-phase cycling the second pulse, the third pulse and the receiver # spin-5/2 echo and antiecho amplitude optimization # versus the third-pulse duration # in three-pulse z-filtered amplitude-modulated 3Q-MAS sequence, # the first-pulse duration p1 = 4 micro seconds # the second-pulse duration p2 = 4 micro seconds spinsys { channels 27Al nuclei 27Al quadrupole 1 2 3e6 0 0 0 0 } par { spin_rate 5000 variable tsw 0.25 sw 1.0e6/tsw np 17 crystal_file rep100 gamma_angles 10 proton_frequency 800e6 start_operator I1z detect_operator I1c verbose 1101 variable rf 90000 variable rf3 9300 variable p1 4 variable p2 4 } proc pulseq {} { global par maxdt $par(tsw) acq $par(ph31) pulse $par(p1) $par(rf) x pulse $par(p2) $par(rf) $par(ph2) for {set i 1} {$i < $par(np)} {incr i} { pulse $par(tsw) $par(rf3) $par(ph3) acq $par(ph31) } } proc main {} { global par foreach p {{ 0 0 270}\ { 60 0 90}\ {120 0 270}\ {180 0 90}\ {240 0 270}\ {300 0 90}\ { 0 90 0}\ { 60 90 180}\ {120 90 0}\ {180 90 180}\ {240 90 0}\ {300 90 180}\ { 0 180 90}\ { 60 180 270}\ {120 180 90}\ {180 180 270}\ {240 180 90}\ {300 180 270}\ { 0 270 180}\ { 60 270 0}\ {120 270 180}\ {180 270 0}\ {240 270 180}\ {300 270 0}} { set par(ph2) [lindex $p 0] set par(ph3) [lindex $p 1] set par(ph31) [lindex $p 2] set g [fsimpson] if [info exists f] { fadd $f $g funload $g } else { set f $g } } fsave $f $par(name).fid funload $f puts "Larmor frequency (Hz) of 27Al: " puts [resfreq 27Al $par(proton_frequency)] } # SIMP # NP=17 # SW=4000000 # TYPE=FID # DATA # 0 0 # -0.070479629 4.29093862e-05 # -0.14206609 0.000172281294 # -0.215730654 0.000387721823 # -0.292088757 0.000686561135 # -0.371157047 0.00106418264 # -0.452223878 0.00151560225 # -0.533920154 0.00203779748 # -0.614468691 0.00263111477 # -0.692037452 0.00329833479 # -0.765049988 0.00404270674 # -0.832322408 0.00486681145 # -0.893078653 0.00577152255 # -0.946976273 0.00675389388 # -0.994163069 0.00780472957 # -1.0353101 0.00890724722 # -1.07156535 0.0100382426 # END