emodelrunner.configuration.configparser

Configuration parsing.

Classes

EModelConfigParser()

Built-in ConfigParser annotated with package type.

PackageType(value[, names, module, ...])

Enumerator for the emodel package types.

class emodelrunner.configuration.configparser.EModelConfigParser[source]

Bases: ConfigParser

Built-in ConfigParser annotated with package type.

hoc_paths_args()[source]

Get the config data subgroup containing the paths to the hoc files.

morph_args()[source]

Get morphology arguments for SSCX from the configuration object.

property package_type

Package type as a property.

presyn_stim_args(pre_spike_train)[source]

Get the pre-synaptic stimulus config data.

Parameters:

pre_spike_train (list) – times at which the synapses fire (ms)

prot_args()[source]

Get the subgroup containing protocols configuration data.

syn_mech_args(add_synapses=None, seed=None, rng_settings_mode=None)[source]

Get the data from config used when loading synapse mechanisms.

synplas_morph_args(precell=False)[source]

Get morphology arguments for Synplas from the configuration object.

Parameters:

precell (bool) – True to load precell morph. False to load usual morph.

class emodelrunner.configuration.configparser.PackageType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

Enumerator for the emodel package types.