EDPVR#

class ansys.health.heart.post.klotz_curve.EDPVR(vm: float, pm: float)#

End diastolic pressure-volume relation.

Notes

Ref: Klotz, et al. Nature protocols 2.9 (2007): 2152-2158.

Overview#

get_pressure

Compute pressure from volume.

get_volume

Compute volume from pressure.

plot_EDPVR

Plot Llotz curve with simulation data if it exists.

Import detail#

from ansys.health.heart.post.klotz_curve import EDPVR

Attribute detail#

EDPVR.An = 27.78#
EDPVR.Bn = 2.76#
EDPVR.vm#
EDPVR.pm#
EDPVR.v0#
EDPVR.v30#

Method detail#

EDPVR.get_pressure(volume: float | numpy.ndarray) float | numpy.ndarray#

Compute pressure from volume.

Parameters:
volumefloat | np.ndarray

Volume in mL.

Returns:
float| np.ndarray

Pressure in mmHg.

EDPVR.get_volume(pressure: numpy.ndarray) numpy.ndarray#

Compute volume from pressure.

Parameters:
pressurenp.ndarray

Pressure in mmHg.

Returns:
np.ndarray

Volume in mL.

EDPVR.plot_EDPVR(simulation_data: list = None) matplotlib.figure.Figure#

Plot Llotz curve with simulation data if it exists.

Parameters:
simulation_datalist, default: None

[volume, pressure] from simulation.

Returns:
matplotlib.figure.Figure

Figure.