bluepyopt.ephys.efeatures

eFeature classes

class bluepyopt.ephys.efeatures.EFeature(name='', comment='')[source]

Bases: bluepyopt.ephys.base.BaseEPhys

EPhys feature

class bluepyopt.ephys.efeatures.eFELFeature(name, efel_feature_name=None, recording_names=None, stim_start=None, stim_end=None, exp_mean=None, exp_std=None, threshold=None, stimulus_current=None, comment='', interp_step=None, double_settings=None, int_settings=None, force_max_score=False, max_score=250)[source]

Bases: bluepyopt.ephys.efeatures.EFeature, bluepyopt.ephys.serializer.DictMixin

eFEL feature

Constructor

Parameters:
  • name (str) – name of the eFELFeature object
  • efel_feature_name (str) – name of the eFeature in the eFEL library (ex: ‘AP1_peak’)
  • recording_names (dict) – eFEL features can accept several recordings as input
  • stim_start (float) – stimulation start time (ms)
  • stim_end (float) – stimulation end time (ms)
  • exp_mean (float) – experimental mean of this eFeature
  • exp_std (float) – experimental standard deviation of this eFeature
  • threshold (float) – spike detection threshold (mV)
  • comment (str) – comment
  • interp_step (float) – interpolation step (ms)
  • double_settings (dict) – dictionary with efel double settings that should be set before extracting the features
  • int_settings (dict) – dictionary with efel int settings that should be set before extracting the features
calculate_feature(responses, raise_warnings=False)[source]

Calculate feature value

calculate_score(responses, trace_check=False)[source]

Calculate the score