Open main menu

Changes

Relax disp.spin lock offset+field

33 bytes added, 02:31, 16 March 2014
Relax needs input in ppm, and converts to the rad/s, which the following function calls.
<source lang="python">
offsets[ei][si][mi][oi] = frequency_to_rad_per_s(frq=cdp.spin_lock_offset[id], B0=frq, isotope=spin.isotope)
"""Convert the given frequency from ppm to rad/s units."""
return frq * 2.0 * pi * B0 / g1H * return_gyromagnetic_ratio(isotope) * 1e-6
</source>
== The trouble ==
Trusted, Bureaucrats
1,382

edits