Пример #1
0
 def synapse_type_to_nineml(self, synapse_type, label):
     return nineml.SynapseType(
         name="%s post-synaptic response for %s" % (synapse_type, label),
         definition=nineml.Definition(
             self.synaptic_mechanism_definition_urls[synapse_type]),
         parameters=build_parameter_set(
             self.synaptic_mechanism_parameters[synapse_type]))
Пример #2
0
 def synapse_type_to_nineml(self, synapse_type, label):
     return nineml.SynapseType(
                 name="%s post-synaptic response for %s" % (synapse_type, label),
                 definition=nineml.Definition(self.synaptic_mechanism_definition_urls[synapse_type]),
                 parameters=build_parameter_set(self.synaptic_mechanism_parameters[synapse_type]))
Пример #3
0
 def spiking_node_to_nineml(self, label):
     return nineml.SpikingNodeType(
                 name="neuron type for population %s" % label,
                 definition=nineml.Definition(self.spiking_mechanism_definition_url),
                 parameters=build_parameter_set(self.spiking_mechanism_parameters))