Myoelectric Digital Twin package#

Module Attributes

DEFAULT_RANDOM_SEED

Random seed to be used in new() calls when not explicitly given as parameter.

DEFAULT_FIBERS_RADIUS

Default radius to be used for fibers during generation.

Functions

default_conductivities()

Create a dictionary containing default conductivities for each tissue type.

get_version()

Returns the version of the Myoelectric Digital Twin

get_user()

Returns the current user of the MDT

is_connected()

Returns True if we can connect to the MDT, False otherwise

print_connection_status()

Pretty prints the connection status of the Myoelectric Digital Twin

Classes

Conductor

A volume conductor

Electrode

An electrode

ElectrodeBracelet

A bracelet of electrodes

Electromyography

The electromyography of a single muscle

FiberBasis

Basis (leadfields/transfer function) for the fibers of a single muscle

FiberProperties

Properties of individual fibers

Fibers

The fibers of a muscle

ForwardSolution

A forward solution

Image

A 3D image containing tissue information.

ImpulseTrains

The impulse trains of the motor units of a single muscle

MotorUnits

Motor units of a single muscle

MotorUnitsActionPotentials

The action potentials for all motor units of a single muscle

Status

The status of the objects in the Neurodec Myoelectric Digital Twin

Surface

A surface of an anatomical model

Tetrahedra

A labelled tetrahedral mesh.

TissueType

The types of tissues inside a volume conductor.