Todo

Improve autoapi module

circadapt.components.patch

Patch objects.

Module Contents

Classes

Patch2022

Patch2022 is based on Patch in Walmsley 2015.

Objects

class circadapt.components.patch.Patch2022(model, objects=None, wall_locs=None)

Bases: circadapt.components.Component

Patch2022 is based on Patch in Walmsley 2015.

Parameters

Am_ref: float

Reference wall area at \(l_{s} = l_{s,ref}\).

V_wall: float

Wall volume

v_max: float

Maximum shortening velocity

l_se0: float

lgth of the series elastic element, i.e. \(l_{s} -l_{si}\) for which stress is zero.

l_s0: float

Reference sarcomere lgth for which at \(A_m (l_{s,ref}) = A_{m,ref}\).

l_s0: float

Zero passive stress lgth

dl_s_pas: float
Sf_pas: float

Linear ECM stress coefficient

k1: float

Nonlinear exponent ECM stress component

tr: float

Contraction time constant

td: float

Relaxation time constant

time_act: float

Relative contraction duration

Sf_act: float

Linear active stress component

dt: float

Activation delay relative to intrinsic activation

C_rest: float

Rest contractility

l_si0: float

Reference lgth for zero-active-stress

LDAD: float

lgth dependend activation duration

ADO: float

activation duration offset

LDCC: float

lgth dependend contractility coefficient

Sf_pasMaxT: float

Maximum ecm stress (adaptation sens variable)

Sf_pasActT: float

Active weighted passive stress (adaptation sens variable)

FacSf_actT: float

Active stress (adaptation sens variable)

LsPasActT: float

Weighted sarcomere lgth average (adaptation sens variable)

adapt_gamma: bool

Adaptation constant

Signals

Signals are arrays. Each point in the array represents a point in time with step-size controlled by the solver.

l_s: array

Sarcomere lgth

l_si: array

State variable: Intrinsic sarcomere lgth

LsiDot: array

State variable: Intrinsic sarcomere lgth time-derivative

C: array

State variable: contraction curve

C_dot: array

State variable: contraction time-derivative

Am: array

Patch mid-wall area

Am0: array

Patch mid-wall zero-stress area

Ef: array

Natural strain

T: array

Mid-wall tension

dA_dT: array

Area-tension derivative

Sf: array

Total fibre stress at mid-wall

Sf_pasT: array

Total passive stress at mid-wall

SfEcm: array

Total ECM stress at mid-wall

dSf_dEf: array

Total stiffness coefficient

dSf_pas_dEf: array

Total passive stiffness coefficient

SfEcmMax: array

Adaptation: Maximum ECM stress

Sf_actMax: array

Adaptation: maximum active stress

Sf_pasAct: array

Adaptation: active-weighted passive stress

LsPasAct: array

Adaptation: active-weigthed sarcomere lgth

parameters = ['Am_ref', 'V_wall', 'v_max', 'l_se0', 'l_s0', 'l_s_ref', 'dl_s_pas', 'Sf_pas', 'tr', 'td',...
signals = ['l_s', 'l_si', 'l_si_dot', 'C', 'C_dot', 'Am', 'Am0', 'Ef', 'T', 'dA_dT', 'Sf', 'Sf_pas_total',...
parameter_on_set
build()

(re)build patch locations based on wall locations.

There is no compatibility with different types of patches used in the model. If you use different type of patches, please use the direct way of interacting with the c++ object, i.e. set() and get().

get_all_patches()

Get all patches of the walls included in this pointer object.

add_object(o)