# na-spam-antiecho-selective-12-cycling-p2.in # approach: 12-phase cycling the first pulse and the receiver # spin-3/2 antiecho amplitude optimization # versus the second-pulse duration # in three-pulse spam-echo 3Q-MAS sequence, # the first-pulse duration p1 = 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 rep10 gamma_angles 10 proton_frequency 800e6 start_operator I1z detect_operator I1c verbose 1101 variable rf 90000 variable rf3 9300 variable p1 4 variable p3 2 variable NA 12 variable deltapA -3 } proc pulseq {} { global par maxdt $par(tsw) pulse $par(p1) $par(rf) $par(phA) store 10 reset acq $par(phREC) for {set i 1} {$i < $par(np)} {incr i} { reset prop 10 pulse [expr ($i)*$par(tsw)] $par(rf) x pulse $par(p3) $par(rf3) x acq [expr $par(phREC) - 90] } } proc main {} { global par for {set jA 0} {$jA < $par(NA)} {incr jA} { set par(phA) [expr $jA*360./$par(NA)] set par(phREC) [expr $par(deltapA)*$par(phA)] 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 # -0.00581489554 3.33066907e-16 # -0.0346439401 2.77555756e-16 # -0.109949473 4.4408921e-16 # -0.250001957 2.22044605e-16 # -0.459167715 1.11022302e-16 # -0.724036772 -1.66533454e-16 # -1.01556327 -3.33066907e-16 # -1.2957407 -8.04911693e-16 # -1.52606 -4.99600361e-16 # -1.67517629 -8.04911693e-16 # -1.72426215 -5.82867088e-16 # -1.66958848 -8.8817842e-16 # -1.52243797 -3.33066907e-16 # -1.30660204 -1.66533454e-16 # -1.05385022 -5.55111512e-17 # -0.798151502 -5.55111512e-17 # END