# na-spam-antiecho-selective-12-cycling-p3.in # approach: 12-phase cycling the first pulse and the receiver # spin-3/2 antiecho amplitude optimization # versus the third-pulse duration # in three-pulse spam-echo 3Q-MAS sequence, # the first-pulse duration p1 = 4 micro seconds # the second-pulse duration p2 = 4 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 p2 4 variable NA 12 variable deltapA -3 } proc pulseq {} { global par maxdt $par(tsw) acq $par(phREC) pulse $par(p1) $par(rf) $par(phA) pulse $par(p2) $par(rf) x for {set i 1} {$i < $par(np)} {incr i} { pulse $par(tsw) $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.90904571 0 # -0.888278274 -5.55111512e-17 # -0.869741348 -5.55111512e-17 # -0.853035894 -5.55111512e-17 # -0.837768304 -5.55111512e-17 # -0.823628471 1.11022302e-16 # -0.81043673 2.22044605e-16 # -0.798151502 5.55111512e-17 # -0.786840491 0 # -0.776627196 2.77555756e-17 # -0.767628973 1.66533454e-16 # -0.759902571 1.66533454e-16 # -0.753409366 1.66533454e-16 # -0.748006945 1.11022302e-16 # -0.74346775 2.77555756e-17 # -0.739519738 2.49800181e-16 # END