emodelrunner.factsheets.physiology_features

Physiology features extraction and representation.

Functions

extract_physiology_features(time, voltage, ...)

Extract voltage_base, input_resistance and decay_time_constant features.

physiology_factsheet_info(time, voltage, ...)

Provides complete physiology information for the factsheet.

physiology_features_wrapper(voltage_base, ...)

Wraps the extracted features into the dictionary format with names and units.

emodelrunner.factsheets.physiology_features.extract_physiology_features(time, voltage, current_amplitude, stim_start, stim_duration)[source]

Extract voltage_base, input_resistance and decay_time_constant features.

Parameters
  • time (list) – time corresponding to the voltage data of the trace (ms)

  • voltage (list) – voltage data of the trace (mV)

  • current_amplitude (float) – current amplitude of the stimulus (nA)

  • stim_start (float) – time at which the stimulus begins (ms)

  • stim_duration (float) – stimulus duration (ms)

Returns

list containing voltage base, input resistance and decay time constant features

emodelrunner.factsheets.physiology_features.physiology_factsheet_info(time, voltage, current_amplitude, stim_start, stim_duration)[source]

Provides complete physiology information for the factsheet.

Parameters
  • time (list) – time corresponding to the voltage data of the trace (ms)

  • voltage (list) – voltage data of the trace (mV)

  • current_amplitude (float) – current amplitude of the stimulus (nA)

  • stim_start (float) – time at which the stimulus begins (ms)

  • stim_duration (float) – stimulus duration (ms)

Returns

dict containing the physiology data

emodelrunner.factsheets.physiology_features.physiology_features_wrapper(voltage_base, input_resistance, dct)[source]

Wraps the extracted features into the dictionary format with names and units.

Parameters
  • voltage_base (float) – resting membrane potential (mV)

  • input_resistance (float) – input resistance (MOhm)

  • dct (float) – membrane time constant (ms)

Returns

list containing dicts with each input feature name, value and unit