# Bi-9Q-digitizedphase180.in # spin-9/2 anti echo and echo amplitude optimization # versus the first-pulse duration # in three-pulse amplitude-modulated z-filter 9QMAS, # 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 18 variable NC 10 variable deltapA 9 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 #1.33226763e-15 1.26565425e-14 #-1.13353771e-13 1.50990331e-14 #-1.11625154e-10 6.3504757e-14 #-1.26325752e-08 5.66169334e-12 #-4.55797373e-07 2.26504149e-10 #-7.86768857e-06 4.15102308e-09 #-8.07532859e-05 4.40628383e-08 #-0.00056166691 3.11648618e-07 #-0.002882385 1.6079663e-06 #-0.0115744747 6.44675712e-06 #-0.0379492429 2.10445103e-05 #-0.104896641 5.79790104e-05 #-0.250604204 0.000138671253 #-0.527873584 0.00029440554 #-0.996485445 0.00056459476 #-1.7089826 0.000991508529 #END