CLI configuration reference#
Generated from beat.cli.config by scripts/gen_cli_reference.py – do not edit.
Quantities are strings with units, e.g. "0.05 ms".
[geometry]#
FolderGeometry (folder)#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
str |
|
Length unit of the mesh coordinates |
|
path |
|
type=folder: folder to read. Generated types (slab, lv_ellipsoid, biv_ellipsoid, ukb): cache root, each mesh is cached in its own |
|
‘folder’ |
|
|
|
FromGeometryFibers | AxisFibers | IsotropicFibers |
|
IntervalGeometry (interval)#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
str |
|
Length unit of the mesh coordinates |
|
path |
|
type=folder: folder to read. Generated types (slab, lv_ellipsoid, biv_ellipsoid, ukb): cache root, each mesh is cached in its own |
|
‘interval’ |
|
|
|
float |
|
Cable length (geometry.unit) |
|
float |
|
Element size (geometry.unit) |
|
FromGeometryFibers | AxisFibers | IsotropicFibers |
|
RectangleGeometry (rectangle)#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
str |
|
Length unit of the mesh coordinates |
|
path |
|
type=folder: folder to read. Generated types (slab, lv_ellipsoid, biv_ellipsoid, ukb): cache root, each mesh is cached in its own |
|
‘rectangle’ |
|
|
|
float |
|
|
|
float |
|
|
|
float |
|
|
|
FromGeometryFibers | AxisFibers | IsotropicFibers |
|
BoxSlabGeometry (box_slab)#
Structured tetrahedral box (beat.geometry.get_3D_slab_mesh); no gmsh needed.
Field |
Type |
Default |
Description |
|---|---|---|---|
|
str |
|
Length unit of the mesh coordinates |
|
path |
|
type=folder: folder to read. Generated types (slab, lv_ellipsoid, biv_ellipsoid, ukb): cache root, each mesh is cached in its own |
|
‘box_slab’ |
|
|
|
float |
|
|
|
float |
|
|
|
float |
|
|
|
float |
|
|
|
FromGeometryFibers | AxisFibers | IsotropicFibers |
|
SlabGeometry (slab)#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
str |
|
Length unit of the mesh coordinates |
|
path |
|
type=folder: folder to read. Generated types (slab, lv_ellipsoid, biv_ellipsoid, ukb): cache root, each mesh is cached in its own |
|
float |
|
|
|
float |
|
|
|
str |
|
|
|
FromGeometryFibers | AxisFibers | IsotropicFibers |
|
|
|
‘slab’ |
|
|
|
float |
|
|
|
float |
|
|
|
float |
|
|
|
float |
|
LVEllipsoidGeometry (lv_ellipsoid)#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
str |
|
Length unit of the mesh coordinates |
|
path |
|
type=folder: folder to read. Generated types (slab, lv_ellipsoid, biv_ellipsoid, ukb): cache root, each mesh is cached in its own |
|
float |
|
|
|
float |
|
|
|
str |
|
|
|
FromGeometryFibers | AxisFibers | IsotropicFibers |
|
|
|
‘lv_ellipsoid’ |
|
|
|
float |
|
|
|
float |
|
|
|
float |
|
|
|
float |
|
|
|
float |
|
|
|
float |
|
|
|
float |
|
|
|
float |
|
|
|
float |
|
BiVEllipsoidGeometry (biv_ellipsoid)#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
str |
|
Length unit of the mesh coordinates |
|
path |
|
type=folder: folder to read. Generated types (slab, lv_ellipsoid, biv_ellipsoid, ukb): cache root, each mesh is cached in its own |
|
float |
|
|
|
float |
|
|
|
str |
|
|
|
FromGeometryFibers | AxisFibers | IsotropicFibers |
|
|
|
‘biv_ellipsoid’ |
|
|
|
float |
|
UKBGeometry (ukb)#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
str |
|
Length unit of the mesh coordinates |
|
path |
|
type=folder: folder to read. Generated types (slab, lv_ellipsoid, biv_ellipsoid, ukb): cache root, each mesh is cached in its own |
|
float |
|
|
|
float |
|
|
|
str |
|
|
|
FromGeometryFibers | AxisFibers | IsotropicFibers |
|
|
|
‘ukb’ |
|
|
|
int |
|
|
|
float |
|
|
|
‘ED’ | ‘ES’ |
|
|
|
float |
|
|
|
float |
|
|
|
bool |
|
[geometry.fibers]#
FromGeometryFibers (from_geometry)#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
‘from_geometry’ |
|
AxisFibers (axis)#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
‘axis’ |
|
|
|
‘x’ | ‘y’ | ‘z’ |
|
IsotropicFibers (isotropic)#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
‘isotropic’ |
|
[ep]#
EPConfig#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
Quantity |
|
Surface to volume ratio |
|
Quantity |
|
Membrane capacitance |
|
ConductivityConfig |
|
ConductivityConfig#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
‘Niederer’ | ‘Bishop’ (optional) |
– |
Literature set from beat.conductivities.default_conductivities; explicit sigma_* override it field by field |
|
Quantity (optional) |
– |
|
|
Quantity (optional) |
– |
|
|
Quantity (optional) |
– |
|
|
Quantity (optional) |
– |
[cell]#
CellConfig#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
path |
required |
Path to the gotranx .ode cell model |
|
str |
|
gotranx scheme that steps the cell model (default rush_larsen_2, second order) |
|
list[str] |
|
States given the exponential (Rush-Larsen) update; only for the hybrid_* schemes |
|
str |
|
Name of the transmembrane potential state |
|
dict[str, float] |
|
|
|
SteadyStateConfig (optional) |
– |
If set, pre-pace a single cell to steady state before the tissue run |
|
NoLayers | TransmuralLayers | CellMarkerLayers |
|
|
|
dict[str, RegionConfig] |
|
SteadyStateConfig#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
int |
|
|
|
Quantity |
|
|
|
Quantity |
|
|
|
list[str] |
|
States to record |
RegionConfig#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
dict[str, float] |
|
[cell.layers]#
NoLayers (none)#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
‘none’ |
|
TransmuralLayers (transmural)#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
‘transmural’ |
|
|
|
float |
|
|
|
float |
|
|
|
list[str] (optional) |
– |
Facet markers of the endocardium. Default: [“ENDO”] if present, else [“LV_ENDO”, “RV_ENDO”] (UKB) if present, else [“LV”, “RV”] (BiV ellipsoid) |
|
str |
|
CellMarkerLayers (cell_markers)#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
‘cell_markers’ |
|
|
|
dict[str, str] |
required |
region name -> geometry cell marker name |
[[stimulus]]#
MarkerStimulus (marker)#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
str |
required |
Current density: uA/cm2 for a marker stimulus on a facet marker, uA/cm3 for a marker stimulus on a cell marker and for box/random_endocardial stimuli (any mesh dimension); see beat.stimulation.define_stimulus |
|
Quantity |
|
|
|
Quantity |
|
|
|
Quantity (optional) |
– |
If set, repeat the pulse every period |
|
int (optional) |
– |
Number of pulses (requires period). Default: until the end time |
|
‘marker’ |
|
|
|
str |
required |
Facet or cell marker name from the geometry |
BoxStimulus (box)#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
str |
required |
Current density: uA/cm2 for a marker stimulus on a facet marker, uA/cm3 for a marker stimulus on a cell marker and for box/random_endocardial stimuli (any mesh dimension); see beat.stimulation.define_stimulus |
|
Quantity |
|
|
|
Quantity |
|
|
|
Quantity (optional) |
– |
If set, repeat the pulse every period |
|
int (optional) |
– |
Number of pulses (requires period). Default: until the end time |
|
‘box’ |
|
|
|
list[float] |
required |
|
|
list[float] |
required |
RandomEndocardialStimulus (random_endocardial)#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
str |
required |
Current density: uA/cm2 for a marker stimulus on a facet marker, uA/cm3 for a marker stimulus on a cell marker and for box/random_endocardial stimuli (any mesh dimension); see beat.stimulation.define_stimulus |
|
Quantity |
|
|
|
Quantity |
|
|
|
Quantity (optional) |
– |
If set, repeat the pulse every period |
|
int (optional) |
– |
Number of pulses (requires period). Default: until the end time |
|
‘random_endocardial’ |
|
|
|
list[str] (optional) |
– |
Facet markers of the endocardium. Default: [“ENDO”] if present, else [“LV_ENDO”, “RV_ENDO”] (UKB) if present, else [“LV”, “RV”] (BiV ellipsoid) |
|
int |
|
|
|
tuple[Quantity, Quantity] |
|
|
|
int |
|
|
|
float |
|
Radius around each point (geometry.unit) |
[solver]#
SolverConfig#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
Quantity |
|
|
|
‘godunov’ | ‘strang’ |
|
Operator splitting: ‘godunov’ (first order) or ‘strang’ (second order with a second-order cell.scheme and solver.pde.theta = 0.5) |
|
bool (optional) |
– |
Merge consecutive Strang ODE half-steps: still second order at Godunov’s cost per step, with a larger error than plain Strang at the same dt. The state is synchronized at every save and checkpoint. Default: true for splitting = ‘strang’, false for ‘godunov’ |
|
Quantity (optional) |
– |
Simulated end time. Give either this or num_beats and BCL |
|
int (optional) |
– |
Run length in beats: end time = num_beats x BCL |
|
Quantity (optional) |
– |
Basic cycle length, only used for the run length (num_beats x BCL). It does not pace anything: set a [[stimulus]] period for that |
|
ThetaPDE | IrksomePDE |
|
|
|
DolfinODE | IrksomeODE | ExternalOperatorODE |
|
|
|
dict[str, str | int | float | bool] |
|
[solver.pde]#
ThetaPDE (theta)#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
‘theta’ |
|
|
|
float |
|
PDE theta-scheme parameter |
|
‘direct’ | ‘iterative’ |
|
|
|
bool |
|
Lump the mass matrix (row sums on the diagonal), as openCARP and CARPentry do by default, e.g. to compare with them like for like. Applies to the mass term only. The default, the consistent mass matrix, is more accurate on coarse meshes: with lumping, activation is later there (Niederer et al. 2011, doi:10.1098/rsta.2011.0139, Sec. 6) |
IrksomePDE (irksome)#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
‘irksome’ |
|
|
|
str |
|
Irksome Butcher tableau class name |
|
int |
|
|
|
‘direct’ | ‘iterative’ |
|
|
|
bool |
|
Not supported by the irksome PDE: only false is accepted. Use type = ‘theta’ to lump the mass matrix |
[solver.ode]#
DolfinODE (dolfin)#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
‘dolfin’ |
|
IrksomeODE (irksome)#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
‘irksome’ |
|
|
|
str |
|
|
|
int |
|
ExternalOperatorODE (external_operator)#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
‘external_operator’ |
|
[output]#
OutputConfig#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
path |
|
|
|
Quantity |
|
|
|
list[str] |
|
Extra ODE states to save |
|
Quantity |
|
Restart checkpoint interval; 0 = end only |
|
bool |
|
|
|
int |
|
[postprocess]#
PostprocessConfig#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
dict[str, list[float]] |
|
|
|
float |
|
|
|
ECGConfig (optional) |
– |
|
|
bool |
|
|
|
bool |
|
[postprocess.ecg]#
ECGConfig#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
dict[str, list[float]] |
required |
Electrode name -> position (2 or 3 numbers), in |
|
str (optional) |
– |
Length unit of the electrode positions; default geometry.unit |
|
‘none’ | ‘twelve-lead’ |
|
Derived lead system written to ecg_leads.csv: none or twelve-lead |
|
‘potential’ | ‘position’ |
|
How the leads’ reference points are formed: potential = Wilson terminal from the potentials, position = potentials evaluated at the derived points (needs leads = twelve-lead) |
|
float |
|
Bath conductivity |