# spam_p3_-3Qxx-x.in # spin-5/2 antiecho amplitude optimization with the third-pulse duration, # three pulse sequence with X, X, -X phases, # coherence pathway 0Q -> -3Q -> (1Q, 0Q, and -1Q) -> -1Q # author: R. HAJJAR spinsys { channels 27Al nuclei 27Al quadrupole 1 2 5e6 1 0 0 0 } par { spin_rate 5000 variable tsw 0.25 sw 1.0e6/tsw np 37 crystal_file rep100 gamma_angles 10 proton_frequency 800e6 start_operator I1z verbose 1101 variable rf 90000 variable rf3 9300 variable p1 4 variable p2 4 } proc pulseq {} { global par maxdt $par(tsw) #----- p = -3 ----- matrix set 1 elements {{5 2}} #----- 1Q, 0Q, and 1Q coherences ----- matrix set 2 coherence {1 0 -1} #----- -1Q coherence of the central-line ----- matrix set detect elements {{3 4}} pulse $par(p1) $par(rf) x filter 1 pulse $par(p2) $par(rf) x filter 2 acq -y for {set i 1} {$i < $par(np)} {incr i} { pulse $par(tsw) $par(rf3) -x acq -y } } proc main {} { global par fsave [fsimpson] $par(name).fid puts "Larmor frequency (Hz) of 27Al: " puts [resfreq 27Al $par(proton_frequency)] }