*
***This program simulates the Solid Effect DNP field profile for a powder *****
***** Simpson can't be used in its present form to calculate DNP effects. Why?

*********************************************************************
spectrometer(MHz)  500
spinning_freq(kHz) 10
channels           e H1
nuclei             e H1
atomic_coords      *
cs_isotropic       *
csa_parameters     1 500 0.7 20 30 40
j_coupling         *
spin-spin_coupling 1 2 868 -2125 0 0 30 0
quadrupole         *
dip_switchboard    *
csa_switchboard    *
exchange_nuclei    *
bond_len_nuclei    *
bond_ang_nuclei    *
tors_ang_nuclei    *
groups_nuclei      *
******* Pulse Sequence ******************************
CHN 1
timing(usec)       (100)x65536
power(kHz)         500
phase(deg)         0
freq_offs(kHz)     0
CHN 2
timing(usec)       100
power(kHz)         0
phase(deg)         0
freq_offs(kHz)     0
******* Variables ***********************************

spin_temp=100

** ZQ SE
scan_par freq_1_1_1/499e3:100:501e3/

** DQ SE
*scan_par freq_1_1_1/-501e3:100:-499e3/

T2SQ_1=0.01  // T2e, ms
T2SQ_2=1     // T2n, ms
T1SQ_1=5     // T1e, ms
T1SQ_2=1000  // T1n, ms

dim_1_units="MHz"
y_label = "$\epsilon_B$"
fig_options="--yrot --ysize 12  --markers ."
fig_title = "Solid Effect Field Profile (e-H spin system)"

******* Options *************************************
rho0               Ieq
observables        F2z
EulerAngles        leb50
n_gamma            *
line_broaden(Hz)   *
zerofill           *
FFT_dimensions     *
options            -ns1 -dp -re -id1e6 -lv -py
****************************************************************************************
-- Option -id1e6 is required here to prevent SpinEvolution from interpreting pulses with power >=500kHz as ideal; the option sets this limit to 1000MHz
-- MAS DNP simulations are always performed using automatically chosen integration steps
-- Powder averaging: no need to average over gamma; average only over alpha and beta
-- Note that we are not averaging here over different mutual orientations of the hyperfine coupling tensor and the g-tensor, i.e. over the various locations of the 1H around e
