emodelrunner.features

Feature-related classes.

Functions

define_efeatures(main_protocol, features_path)

Define the efeatures.

get_feature(feature_config, main_protocol, ...)

Return feature name and eFelFeature.

emodelrunner.features.define_efeatures(main_protocol, features_path, prefix='')[source]

Define the efeatures.

Parameters:
  • main_protocol (ephys.protocols.Protocol) – Main Protocol containing all the protocols

  • features_path (str) – path to features file

  • prefix (str) – prefix used in naming responses, features, recordings, etc.

Returns:

efeatures

Return type:

dict

emodelrunner.features.get_feature(feature_config, main_protocol, protocol_name, recording_name, prefix)[source]

Return feature name and eFelFeature.

Parameters:
  • feature_config (dict) – contains the feature-related config data

  • main_protocol (ephys.protocols.Protocol) – Main Protocol containing all the protocols

  • protocol_name (str) – name of the protocol used

  • recording_name (str) – name of the recording. used to get the trace

  • prefix (str) – prefix used in naming responses, features, recordings, etc.

Returns:

feature name, feature

Return type:

(str, bluepyopt.ephys.efeatures.eFELFeature)