Skip to content

extended_tofts

extended_tofts

Extended Tofts-Kety pharmacokinetic model (OSIPI: M.IC1.005).

This module implements the Extended Tofts model for DCE-MRI analysis, which includes both the extravascular extracellular space (EES) and a vascular plasma compartment.

References

.. [1] OSIPI CAPLEX, https://osipi.github.io/OSIPI_CAPLEX/ .. [2] Dickie BR et al. MRM 2024. doi:10.1002/mrm.30101 .. [3] Tofts PS et al. J Magn Reson Imaging 1999;10(3):223-232.

ExtendedToftsParams dataclass

ExtendedToftsParams(ktrans=0.1, ve=0.2, vp=0.02)

Bases: ModelParameters

Parameters for Extended Tofts model (OSIPI: M.IC1.005).

ATTRIBUTE DESCRIPTION
ktrans

Volume transfer constant (OSIPI: Q.PH1.008) in 1/min.

TYPE: float

ve

Extravascular extracellular volume fraction (OSIPI: Q.PH1.001), mL/100mL.

TYPE: float

vp

Plasma volume fraction (OSIPI: Q.PH1.001), mL/100mL.

TYPE: float

kep property

kep

Rate constant kep = Ktrans/ve (OSIPI: Q.PH1.009) in 1/min.

ExtendedToftsModel

Bases: BasePerfusionModel[ExtendedToftsParams]

Extended Tofts-Kety pharmacokinetic model (OSIPI: M.IC1.005).

Implements the Extended Tofts model for indicator concentration in tissue as a function of arterial input, including a vascular plasma compartment.

ATTRIBUTE DESCRIPTION
Ktrans

Volume transfer constant (OSIPI: Q.PH1.008), 1/min.

TYPE: float

ve

Extravascular extracellular volume fraction (OSIPI: Q.PH1.001), mL/100mL.

TYPE: float

vp

Plasma volume fraction (OSIPI: Q.PH1.001), mL/100mL.

TYPE: float

Notes

Model equation: Ct(t) = vpCp(t) + Ktrans * integral_0^t Cp(tau) * exp(-kep(t-tau)) dtau

where: - Ct(t) is tissue concentration (OSIPI: Q.IC1.001) at time t - Cp(t) is plasma concentration (AIF) - vp is plasma volume fraction (OSIPI: Q.PH1.001) - Ktrans is volume transfer constant (OSIPI: Q.PH1.008) - kep = Ktrans/ve is the rate constant (OSIPI: Q.PH1.009)

Assumptions: - Fast exchange between plasma and EES - Well-mixed compartments - First-order kinetics

References

.. [1] OSIPI CAPLEX, https://osipi.github.io/OSIPI_CAPLEX/ .. [2] Dickie BR et al. MRM 2024. doi:10.1002/mrm.30101 .. [3] Tofts PS et al. J Magn Reson Imaging 1999;10(3):223-232.

time_unit property

time_unit

Return time unit (minutes for Extended Tofts).

name property

name

Return model name.

parameters property

parameters

Return parameter names following OSIPI terminology.

parameter_units property

parameter_units

Return parameter units.

reference property

reference

Return literature citation.

get_initial_guess_batch

get_initial_guess_batch(ct_batch, aif, t, xp)

Compute vectorized initial guesses for a batch of voxels.

PARAMETER DESCRIPTION
ct_batch

Tissue concentration curves, shape (n_timepoints, n_voxels).

TYPE: NDArray[floating]

aif

Arterial input function, shape (n_timepoints,).

TYPE: NDArray[floating]

t

Time points in seconds, shape (n_timepoints,).

TYPE: NDArray[floating]

xp

Array module (numpy or cupy).

TYPE: module

RETURNS DESCRIPTION
NDArray[floating]

Initial parameter guesses, shape (3, n_voxels).

get_bounds

get_bounds()

Return physiological parameter bounds.

RETURNS DESCRIPTION
dict[str, tuple[float, float]]

Parameter bounds based on QIBA DCE Profile.

get_initial_guess

get_initial_guess(ct, aif, t)

Compute initial parameter guess.

PARAMETER DESCRIPTION
ct

Tissue concentration curve.

TYPE: NDArray[floating]

aif

Arterial input function.

TYPE: NDArray[floating]

t

Time points in seconds.

TYPE: NDArray[floating]

RETURNS DESCRIPTION
ExtendedToftsParams

Initial parameter estimates.