LoslegenKostenlos loslegen

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?

Diese Übung ist Teil des Kurses

Biomedical Image Analysis in Python

Kurs anzeigen

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Get index of max and min volumes
tmax = ____(ts)
tmin = ____

# Plot the largest and smallest volumes
fig, axes = plt.subplots(2,1)
axes[0].imshow(____, vmax=160)
axes[1].imshow(____, vmax=160)
format_and_render_plots()
Code bearbeiten und ausführen