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 |
|
|
|
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”, “RV”] (BiV) |
|
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] |
|
|
|
int |
|
|
|
tuple[Quantity, Quantity] |
|
|
|
int |
|
|
|
float |
|
Radius around each point (geometry.unit) |
[solver]#
SolverConfig#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
Quantity |
|
|
|
float |
|
Splitting: 1.0 Godunov, 0.5 Strang |
|
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’ |
|
IrksomePDE (irksome)#
Field |
Type |
Default |
Description |
|---|---|---|---|
|
‘irksome’ |
|
|
|
str |
|
Irksome Butcher tableau class name |
|
int |
|
|
|
‘direct’ | ‘iterative’ |
|
[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 |
|
|
|
float |
|
|
|
bool |
|
|
|
bool |
|