ActiveCurve#

class ansys.health.heart.settings.material.curve.ActiveCurve(/, **data: Any)#

Bases: pydantic.BaseModel

Pydantic-backed ActiveCurve.

Overview#

plot_time_vs_ca2

Plot time vs ca2.

plot_time_vs_stress

Plot time vs stress.

dyna_input

Return LS-DYNA input arrays.

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

func

type

threshold

n_beat

time

t_beat

ca2

stress

Import detail#

from ansys.health.heart.settings.material.curve import ActiveCurve

Property detail#

property ActiveCurve.dyna_input: Tuple[numpy.ndarray, numpy.ndarray]#

Return LS-DYNA input arrays.

Attribute detail#

ActiveCurve.model_config#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

ActiveCurve.func: Tuple[numpy.ndarray, numpy.ndarray] = None#
ActiveCurve.type: Literal['stress', 'ca2'] = 'ca2'#
ActiveCurve.threshold: float = 5e-07#
ActiveCurve.n_beat: int = 5#
ActiveCurve.time: numpy.ndarray | None = None#
ActiveCurve.t_beat: float | None = None#
ActiveCurve.ca2: numpy.ndarray | None = None#
ActiveCurve.stress: numpy.ndarray | None = None#

Method detail#

ActiveCurve.plot_time_vs_ca2()#

Plot time vs ca2.

ActiveCurve.plot_time_vs_stress()#

Plot time vs stress.