# Bi-7Q-digitizedphase140.in # spin-9/2 anti echo and echo amplitude optimization # versus the first-pulse duration # in three-pulse amplitude-modulated z-filter 7QMAS, # the second-pulse duration p2 = 4 micro seconds # the third-pulse duration p3 = 2 micro seconds # nested phase cycling with digitized phase for receiver spinsys { channels 209Bi nuclei 209Bi 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 9300 variable p2 4 variable p3 2 variable NA 14 variable NC 10 variable deltapA 7 variable deltapC 1 } 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(phB) 0 for {set jC 0} {$jC < $par(NC)} {incr jC} { set par(phC) [expr $jC*360./$par(NC)] 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(deltapC)*$par(phC)] 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 209Bi: " puts [resfreq 209Bi $par(proton_frequency)] } #SIMP #NP=17 #SW=4000000 #TYPE=FID #DATA #0 0 #-8.12006018e-12 5.72875081e-14 #-2.66441313e-11 -6.42152997e-13 #-1.66546983e-07 3.57101015e-11 #-1.0271479e-05 4.71498751e-09 #-0.000187055191 9.36478219e-08 #-0.00166694257 8.03967461e-07 #-0.00934973765 3.97847836e-06 #-0.0383235196 1.32989379e-05 #-0.124828186 3.36721553e-05 #-0.336393412 7.1127308e-05 #-0.766014141 0.000136461413 #-1.50177413 0.000253936997 #-2.58981004 0.000471849932 #-4.01914543 0.000864263067 #-5.73449143 0.00151076006 #-7.65903325 0.00245689604 #END