dcmri.relax#
- dcmri.relax(c, R10, r1) ndarray [source]#
Derive longitudinal R1 from tissue concentrations assuming a linear relation.
- Parameters:
c (array-like) – Concentrations, either as a one-dimensionsal array for one-compartment systems, or two-dimensional where the 1st dimension is the number of compartments.
R10 (array-like or float) – Precontrast R1, either a single value for one-compartment tissues or an array with one value for each tissue compartment.
r1 (float or array-like) – relaxivity, either a single value for one-compartment tissues or an array with one value for each tissue compartment.
- Returns:
Array with longitudinal relaxvities, same shape as C.
- Return type:
np.ndarray