LV
LV#
- class project_heart.lv.left_ventricle.LV(log_level=20, *args, **kwargs)#
- ejection_fraction(t_es: Optional[float] = None, t_ed: float = 0.0, **kwargs) float #
- Calculates the change in volume between end-systole and end-diatole.
ES and ED are timesteps where the ES and ED occur.
- Parameters
t_es (float or None, optional) – End-systole timestep. Defaults to None.
t_ed (float, optional) – End-diastole timestep. Defaults to 0.0.
- Returns
Ejection fraction (%) at t_es. np.ndarray (n_timesteps, 1): Volumetric fraction array.
- Return type
float (if t_es is specified)
- xyz(**kwargs) numpy.ndarray #
Return pointer to nodal position [xyz] state array.
- Raises
RuntimeError – If ‘xyz’ could not be extracted or automatically computed based on current state’s data.
- Returns
Pointer to ‘xyz’ states array.
- Return type
np.ndarray (n_timesteps, 3)