ns_r1rho_2site(M0=None,
matrix=None,
r1rho_prime=None,
omega=None,
offset=None,
r1=0.0,
pA=None,
pB=None,
dw=None,
k_AB=None,
k_BA=None,
spin_lock_fields=None,
relax_time=None,
inv_relax_time=None,
back_calc=None,
num_points=None)
 source code

The 2site numerical solution to the BlochMcConnell equation for
R1rho data.
This function calculates and stores the R1rho values.
 Parameters:
M0 (numpy float64, rank1, 7D array)  This is a vector that contains the initial magnetizations
corresponding to the A and B state transverse magnetizations.
matrix (numpy rank2, 6D float64 array)  A numpy array to be populated to create the evolution matrix.
r1rho_prime (float)  The R1rho_prime parameter value (R1rho with no exchange).
omega (float)  The chemical shift for the spin in rad/s.
offset (numpy rank1 float array)  The spinlock offsets for the data.
r1 (float)  The R1 relaxation rate.
pA (float)  The population of state A.
pB (float)  The population of state B.
dw (float)  The chemical exchange difference between states A and B in rad/s.
k_AB (float)  The rate of exchange from site A to B (rad/s).
k_BA (float)  The rate of exchange from site B to A (rad/s).
spin_lock_fields (numpy rank1 float array)  The R1rho spinlock field strengths (in rad.s^1).
relax_time (float)  The total relaxation time period for each spinlock field
strength (in seconds).
inv_relax_time (float)  The inverse of the relaxation time period for each spinlock
field strength (in inverse seconds). This is used for faster
calculations.
back_calc (numpy rank1 float array)  The array for holding the back calculated R2eff values. Each
element corresponds to one of the CPMG nu1 frequencies.
num_points (int)  The number of points on the dispersion curve, equal to the length
of the tcp and back_calc arguments.
