|
carputils
Doxygen code documentation for the python framework controlling openCARP
|
Represents a single stimulus argument to openCARP. More...
Public Member Functions | |
| def | __init__ (self, name=None, kwargs) |
| def | opts_formatted (self, index) |
| def | forced_foot (cls, act_sequence=None, pulse_file=None) |
| Create a forced foot stimulus using a pulse file. More... | |
| def | forced_foot_exponential (cls, act_sequence=None) |
| Create a forced foot stimulus with an exponential shape. More... | |
Static Public Attributes | |
| string | PRM_ARRAY = 'stim' |
| string | PRM_LENGTH = 'num_stim' |
| list | FIELDS |
Represents a single stimulus argument to openCARP.
| name | str, optional A short descriptive name for this stimulus **kwargs The remaining fields for the stimulus |
| def carputils.model.stimulus.Stimulus.__init__ | ( | self, | |
name = None, |
|||
| kwargs | |||
| ) |
| def carputils.model.stimulus.Stimulus.forced_foot | ( | cls, | |
act_sequence = None, |
|||
pulse_file = None |
|||
| ) |
Create a forced foot stimulus using a pulse file.
| act_sequence | str, optional Path of the activation sequence to use for the stimulus - if not given will be computed |
| pulse_file | str, optional Path of the trace to use to prescribe the foot, without .trc |
| extension | a sensible default is used if not given |
| def carputils.model.stimulus.Stimulus.forced_foot_exponential | ( | cls, | |
act_sequence = None |
|||
| ) |
Create a forced foot stimulus with an exponential shape.
| act_sequence | str, optional Path of the activation sequence to use for the stimulus - if not given will be computed |
| def carputils.model.stimulus.Stimulus.opts_formatted | ( | self, | |
| index | |||
| ) |
|
static |
|
static |
|
static |
1.8.13