Exercise

Measure ejection fraction

The ejection fraction is defined as:

$$\frac{V_{max} - V_{min}}{V_{max}}$$

…where \(V\) is left ventricle volume for one 3D timepoint.

To close our investigation, plot slices from the maximum and minimum volumes by analyzing the volume time series (ts). Then, calculate the ejection fraction.


After calculating the ejection fraction, review the chart below. Should this patient be concerned?

Instructions 1/3

undefined XP
    1
    2
    3
  • Get the index of the minimum and maximum volume images using np.argmin() and np.argmax().
  • Plot the extreme volumes together. Display the images along the fifth plane, e.g. (vol_ts[t, 4]).