# na-zfilter-amplitude-24-cycling-p1.in # approach: 24-phase cycling the first pulse, the third pulse and the receiver # spin-3/2 echo and antiecho amplitude optimization # versus the first-pulse duration # in three-pulse z-filtered amplitude-modulated 3Q-MAS sequence, # the second-pulse duration p2 = 4 micro seconds # the third-pulse duration p3 = 2 micro seconds spinsys { channels 23Na nuclei 23Na quadrupole 1 1 1e6 1 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 93000 variable p2 4 variable p3 2 } proc pulseq {} { global par maxdt $par(tsw) acq $par(ph31) for {set i 1} {$i < $par(np)} {incr i} { pulse $par(tsw) $par(rf) $par(ph1) store 2 pulse $par(p2) $par(rf) x pulse $par(p3) $par(rf3) $par(ph3) acq $par(ph31) reset prop 2 } } 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(ph1) [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 23Na: " puts [resfreq 23Na $par(proton_frequency)] } # SIMP # NP=17 # SW=4000000 # TYPE=FID # DATA # 0 0 # -7.69414168e-06 1.15928264e-19 # -0.000260120263 -4.90439268e-18 # -0.00208699296 -6.90363519e-18 # -0.00917055779 -4.02855309e-18 # -0.0284756245 -4.13062012e-18 # -0.0698140935 2.40737792e-18 # -0.143359523 2.93225295e-17 # -0.255628855 3.03587097e-17 # -0.405736241 3.9948957e-17 # -0.584073994 8.22103209e-17 # -0.774530277 7.38182649e-17 # -0.95945329 1.06515544e-16 # -1.12502936 1.1831554e-16 # -1.26457703 7.71159559e-17 # -1.37855649 1.03493488e-16 # -1.47195351 2.01724454e-16 # END