dcmri.res_pass#

dcmri.res_pass(T, t)[source]#

Residue function of a pass.

See section Pass for more detail.

Parameters:
  • T (float) – transit time of the pass.

  • t (array_like) – Time points where the residue function is calculated.

Returns:

residue function of the pass as a 1D array.

Return type:

numpy.ndarray

Example

>>> import dcmri as dc
>>> t = [0,3,4,6]
>>> dc.res_pass(5,t)
array([3.33333333, 0.        , 0.        , 0.        ])