# al-zfilter-amplitude-100-cycling-p1.in # approach: 100-phase cycling the first and the second pulses and the receiver # spin-5/2 echo and antiecho amplitude optimization # versus the first-pulse duration # in three-pulse z-filtered amplitude-modulated 5Q-MAS sequence, # the second-pulse duration p2 = 4 micro seconds # the third-pulse duration p3 = 2 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 rep10 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 variable NA 10 variable NB 10 variable deltapA -5 variable deltapB 5 } proc pulseq {} { global par maxdt $par(tsw) acq -y for {set i 1} {$i < $par(np)} {incr i} { pulse $par(tsw) $par(rf) $par(phA) store 2 pulse $par(p2) $par(rf) $par(phB) pulse $par(p3) $par(rf3) $par(phC) acq [expr $par(phREC) - 90] reset prop 2 } } proc main {} { global par set par(phC) 0 for {set jB 0} {$jB < $par(NB)} {incr jB} { set par(phB) [expr $jB*360./$par(NB)] 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) + $par(deltapB)*$par(phB)] 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 # -1.06619417e-08 1.24956823e-10 # -5.04645275e-06 2.94211661e-08 # -0.000168947115 6.8073676e-07 # -0.001838236 5.85910126e-06 # -0.0104673192 2.74176189e-05 # -0.0385944688 7.89670996e-05 # -0.103399008 0.00013469588 # -0.216082003 5.54500618e-05 # -0.36997888 -0.000455920647 # -0.539960111 -0.00179556663 # -0.697500569 -0.00429595706 # -0.829969427 -0.00804069722 # -0.947188808 -0.0127456566 # -1.06995847 -0.0177548527 # -1.21075178 -0.0221663695 # -1.36123207 -0.0250674266 # END