osipi.aif_parker¶
AIF model as defined by Parker et al (2005)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
t |
ndarray
|
array of time points in units of sec. [OSIPI code Q.GE1.004] |
required |
BAT |
float
|
Time in seconds before the bolus arrives. Defaults to 0. [OSIPI code Q.BA1.001] |
0.0
|
Hct |
float
|
Hematocrit. Defaults to 0.0. [OSIPI code Q.PH1.012] |
0.0
|
Returns:
Type | Description |
---|---|
ndarray
|
np.ndarray: Concentrations in mM for each time point in t. |
See Also
aif_georgiou
aif_weinmann
References
- Lexicon url: https://osipi.github.io/OSIPI_CAPLEX/perfusionModels/#arterial-input-function-models
- Lexicon code: M.IC2.001
- OSIPI name: Parker AIF model
- Adapted from contribution by: MB_QBI_UoManchester_UK
Example
Create an array of time points covering 6 min in steps of 1 sec, calculate the Parker AIF at these time points and plot the results.
Import packages:
import matplotlib.pyplot as plt import osipi
Calculate AIF and plot
t = np.arange(0, 6 * 60, 1) ca = osipi.aif_parker(t) plt.plot(t, ca) plt.show()