当前位置: 首页>>代码示例>>Python>>正文


Python NeuroObject.inputs方法代码示例

本文整理汇总了Python中neuro_object.NeuroObject.inputs方法的典型用法代码示例。如果您正苦于以下问题:Python NeuroObject.inputs方法的具体用法?Python NeuroObject.inputs怎么用?Python NeuroObject.inputs使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在neuro_object.NeuroObject的用法示例。


在下文中一共展示了NeuroObject.inputs方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: inputs

# 需要导入模块: from neuro_object import NeuroObject [as 别名]
# 或者: from neuro_object.NeuroObject import inputs [as 别名]
 def inputs(self, recurse = True):
     inputs = NeuroObject.inputs(self, recurse)
     if self.sendsOutput:
         inputs += [self.neurite]
     if self.receivesInput:
         inputs += [self.region]
     return inputs
开发者ID:JaneliaSciComp,项目名称:Neuroptikon,代码行数:9,代码来源:arborization.py

示例2: inputs

# 需要导入模块: from neuro_object import NeuroObject [as 别名]
# 或者: from neuro_object.NeuroObject import inputs [as 别名]
 def inputs(self, recurse = True):
     inputs = NeuroObject.inputs(self, recurse)
     if self.region1Projects:
         inputs += [self.region1]
     if self.region2Projects:
         inputs += [self.region2]
     return inputs
开发者ID:JaneliaSciComp,项目名称:Neuroptikon,代码行数:9,代码来源:pathway.py

示例3: inputs

# 需要导入模块: from neuro_object import NeuroObject [as 别名]
# 或者: from neuro_object.NeuroObject import inputs [as 别名]
 def inputs(self, recurse = True):
     """
     Return a list of all objects that send information into this neuron and optionally any extending :class:`neurites <Network.Neurite.Neurite>`.
     
     The list may contain any number of :class:`arborizations <Network.Arborization.Arborization>`, :class:`gap junctions <Network.GapJunction.GapJunction>`, :class:`stimuli <Network.Stimulus.Stimulus>` or :class:`synapses <Network.Synapse.Synapse>`.
     """
     
     return NeuroObject.inputs(self, recurse) + self._synapses
开发者ID:JaneliaSciComp,项目名称:Neuroptikon,代码行数:10,代码来源:neuron.py

示例4: inputs

# 需要导入模块: from neuro_object import NeuroObject [as 别名]
# 或者: from neuro_object.NeuroObject import inputs [as 别名]
 def inputs(self, recurse = True):
     inputs = NeuroObject.inputs(self, recurse)
     for pathway in self.pathways:
         if pathway.region1 == self and pathway.region2Projects or pathway.region2 == self and pathway.region1Projects:
             inputs.append(pathway)
     for arborization in self.arborizations:
         if arborization.sendsOutput:
             inputs.append(arborization)
     if recurse:
         for subRegion in self.subRegions:
             inputs += subRegion.inputs() 
     return inputs
开发者ID:JaneliaSciComp,项目名称:Neuroptikon,代码行数:14,代码来源:region.py

示例5: inputs

# 需要导入模块: from neuro_object import NeuroObject [as 别名]
# 或者: from neuro_object.NeuroObject import inputs [as 别名]
    def inputs(self, recurse=True):
        """
        Return a list of all objects that send information into this neurite and optionally any extending neurites.
        
        The list may contain any number of :class:`arborizations <Network.Arborization.Arborization>`, :class:`gap junctions <Network.GapJunction.GapJunction>`, :class:`stimuli <Network.Stimulus.Stimulus>` or :class:`synapses <Network.Synapse.Synapse>`.
        """

        inputs = (
            NeuroObject.inputs(self, recurse)
            + self.gapJunctions(False)
            + self.synapses(includePre=False, recurse=False)
        )
        if self.arborization is not None and self.arborization.receivesInput:
            inputs += [self.arborization]
        return inputs
开发者ID:JaneliaSciComp,项目名称:Neuroptikon,代码行数:17,代码来源:neurite.py

示例6: inputs

# 需要导入模块: from neuro_object import NeuroObject [as 别名]
# 或者: from neuro_object.NeuroObject import inputs [as 别名]
 def inputs(self, recurse = True):
     return NeuroObject.inputs(self, recurse) + list(self._neurites)    
开发者ID:JaneliaSciComp,项目名称:Neuroptikon,代码行数:4,代码来源:gap_junction.py

示例7: inputs

# 需要导入模块: from neuro_object import NeuroObject [as 别名]
# 或者: from neuro_object.NeuroObject import inputs [as 别名]
 def inputs(self, recurse = True):
     return NeuroObject.inputs(self, recurse) + [self.preSynapticNeurite]
开发者ID:JaneliaSciComp,项目名称:Neuroptikon,代码行数:4,代码来源:synapse.py

示例8: inputs

# 需要导入模块: from neuro_object import NeuroObject [as 别名]
# 或者: from neuro_object.NeuroObject import inputs [as 别名]
 def inputs(self, recurse = True):
     return NeuroObject.inputs(self, recurse) + self._innervations
开发者ID:JaneliaSciComp,项目名称:Neuroptikon,代码行数:4,代码来源:muscle.py

示例9: inputs

# 需要导入模块: from neuro_object import NeuroObject [as 别名]
# 或者: from neuro_object.NeuroObject import inputs [as 别名]
 def inputs(self, recurse = True):
     return NeuroObject.inputs(self, recurse) + [self.neurite]
开发者ID:JaneliaSciComp,项目名称:Neuroptikon,代码行数:4,代码来源:innervation.py


注:本文中的neuro_object.NeuroObject.inputs方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。