cardioemulator.Emulator_parametric

class cardioemulator.Emulator_parametric(emulator_data)[source]

Bases: object

Parametric 0D emulator of a cardiac chamber.

Parameters

emulator_data (dict or str) – Dictionary encoding the parametric emulator. This input can be provided as a dictionary or as the path to json file containing the dictionary.

Methods

PV

Time-dependent pressure-volume relationship.

PV(V, t, param)[source]

Time-dependent pressure-volume relationship.

Parameters
  • V (float [mL]) – Chamber volume.

  • t (float [s]) – time.

  • param (float) – Emulator parameter.

Returns

p – Chamber pressure.

Return type

float [mmHg]