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
¶
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:
|
ve |
Extravascular extracellular volume fraction (OSIPI: Q.PH1.001), mL/100mL.
TYPE:
|
vp |
Plasma volume fraction (OSIPI: Q.PH1.001), mL/100mL.
TYPE:
|
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:
|
ve |
Extravascular extracellular volume fraction (OSIPI: Q.PH1.001), mL/100mL.
TYPE:
|
vp |
Plasma volume fraction (OSIPI: Q.PH1.001), mL/100mL.
TYPE:
|
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.
get_initial_guess_batch
¶
Compute vectorized initial guesses for a batch of voxels.
| PARAMETER | DESCRIPTION |
|---|---|
ct_batch
|
Tissue concentration curves, shape (n_timepoints, n_voxels).
TYPE:
|
aif
|
Arterial input function, shape (n_timepoints,).
TYPE:
|
t
|
Time points in seconds, shape (n_timepoints,).
TYPE:
|
xp
|
Array module (numpy or cupy).
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
NDArray[floating]
|
Initial parameter guesses, shape (3, n_voxels). |
get_bounds
¶
Return physiological parameter bounds.
| RETURNS | DESCRIPTION |
|---|---|
dict[str, tuple[float, float]]
|
Parameter bounds based on QIBA DCE Profile. |
get_initial_guess
¶
Compute initial parameter guess.
| PARAMETER | DESCRIPTION |
|---|---|
ct
|
Tissue concentration curve.
TYPE:
|
aif
|
Arterial input function.
TYPE:
|
t
|
Time points in seconds.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
ExtendedToftsParams
|
Initial parameter estimates. |