signal_model
signal_model
¶
DSC perfusion forward model and binding adapter.
Implements C(t) = CBF * AIF(t) * R(t) (convolution) as a
BaseSignalModel with pre-computed SVD via BoundDSCModel.
DSCConvolutionModel
¶
Bases: BaseSignalModel
DSC perfusion forward model: C(t) = CBF * AIF(t) * R(t).
Parameters are CBF (mL/100g/min), MTT (s), and Ta (s).
References
.. [1] OSIPI CAPLEX, https://osipi.github.io/OSIPI_CAPLEX/ .. [2] Ostergaard L et al. MRM 1996;36(5):715-725.
parameter_units
property
¶
Return mapping of parameter names to OSIPI-compliant units.
BoundDSCModel
¶
Bases: BaseBoundModel
DSC model with AIF and time bound, SVD pre-computed.
Pre-computes the SVD of the AIF convolution matrix once. The fitter uses the pre-computed SVD components to recover R(t) via regularized inversion.
| PARAMETER | DESCRIPTION |
|---|---|
model
|
The signal model.
TYPE:
|
aif
|
Arterial input function (delta-R2*), shape
TYPE:
|
time
|
Time points in seconds, shape
TYPE:
|
matrix_type
|
TYPE:
|
fixed
|
Parameters to fix.
TYPE:
|
predict_array_batch
¶
Forward model: reconstruct C(t) from CBF, MTT, Ta.
| PARAMETER | DESCRIPTION |
|---|---|
free_params_batch
|
Free parameter values, shape
TYPE:
|
xp
|
Array module.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
NDArray
|
Predicted concentration, shape |
get_initial_guess_batch
¶
Compute initial guesses from signal shape.
| PARAMETER | DESCRIPTION |
|---|---|
observed_batch
|
Observed data, shape
TYPE:
|
xp
|
Array module.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
NDArray
|
Initial guesses, shape |