osipi.aif_weinmann¶
AIF model as defined by Weinmann et al.
Note
This function is not yet implemented. If you are implementing it yourself please consider submitting a code contribution to OSIPI, so nobody ever has to write this function again!
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 0sec. [OSIPI code Q.BA1.001] |
0.0
|
Returns:
Type | Description |
---|---|
ndarray
|
np.ndarray: Concentrations in mM for each time point in t. |
See Also
aif_parker
aif_georgiou
References
- Lexicon url: https://osipi.github.io/OSIPI_CAPLEX/perfusionModels/#arterial-input-function-models
- Lexicon code: M.IC2.003
- OSIPI name: Weinmann AIF model
- Adapted from contribution by: TBC
Create an array of time points covering 6min in steps of 1sec,
calculate the Weinmann 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, 0.1)
>>> ca = osipi.aif_weinmann(t)
>>> plt.plot(t, ca)