5. Capabilities

The capabilities are the interface between the tests and the models. The ModelLoader() class (in utils.py) inherits from the capabilities and must implement the methods of the capability. The test can only be run on a model if the necessary capability methods are implemented in the ModelLoader(). All communication between the test and the model happens through the capabilities, therefore all functions that are needed to run simulations on the models and record their response are implemented as capabilities.

SomaticFeaturesTest:
  • ReceivesSquareCurrent_ProvidesResponse()

DepolarizationBlockTest:
  • ReceivesSquareCurrent_ProvidesResponse()

BackPropagatingAPTest:
  • ReceivesSquareCurrent_ProvidesResponse()

  • ProvidesRecordingLocationsOnTrunk()

  • ReceivesSquareCurrent_ProvidesResponse_MultipleLocations()

PSPAttenuationTest:
  • ProvidesRandomDendriticLocation()

  • ReceivesEPSCstim()

ObliqueIntegrationTest:
  • ProvidesGoodObliques()

  • ReceivesMultipleSynapse()

5.1. hippounit.capabilities Package

5.1.1. Classes

ProvidesGoodObliques()

Indicates that the model provides a list of oblique dendrites and locations to be tested

ProvidesRandomDendriticLocations()

Indicates that the model provides a list of randomly selected locations on the trunk (primary apical dendrite) to be tested

ProvidesRecordingLocationsOnTrunk()

Indicates that the model provides a list of locations on the trunk (primary apical dendrite) to be tested

ReceivesEPSCstim()

Indicates that the model receives an excitatory post-synaptic current (EPSC) shaped input

ReceivesMultipleSynapses()

Indicates that the model receives one or multiple synapses

ReceivesSquareCurrent_ProvidesResponse()

Indicates that current can be injected into the model as a square pulse.

ReceivesSquareCurrent_ProvidesResponse_MultipleLocations()

Indicates that current can be injected into the model as a square pulse.

ReceivesSynapse()

Indicates that the model receives synapse

5.1.2. Class Inheritance Diagram

Inheritance diagram of hippounit.capabilities.cap_ProvidesGoodObliques.ProvidesGoodObliques, hippounit.capabilities.cap_ProvidesRandomDendriticLocations.ProvidesRandomDendriticLocations, hippounit.capabilities.cap_ProvidesRecordingLocationsOnTrunk.ProvidesRecordingLocationsOnTrunk, hippounit.capabilities.cap_ReceivesEPSCstim.ReceivesEPSCstim, hippounit.capabilities.cap_ReceivesMultipleSynapses.ReceivesMultipleSynapses, hippounit.capabilities.cap_ReceivesCurrentStimuli_ProvidesResponse.ReceivesSquareCurrent_ProvidesResponse, hippounit.capabilities.cap_ReceivesCurrentStimuli_ProvidesResponse_MultipleLocations.ReceivesSquareCurrent_ProvidesResponse_MultipleLocations, hippounit.capabilities.cap_ReceivesSynapse.ReceivesSynapse