# ./bibi_api_gen.py
# -*- coding: utf-8 -*-
# PyXB bindings for NM:d8bc1000793d9bf647fd97a1512e459e4ce45e64
# Generated 2023-06-11 22:34:45.764088 by PyXB version 1.2.6 using Python 3.8.10.final.0
# Namespace http://schemas.humanbrainproject.eu/SP10/2014/BIBI
from __future__ import unicode_literals
import pyxb
import pyxb.binding
import pyxb.binding.saxer
import io
import pyxb.utils.utility
import pyxb.utils.domutils
import sys
import pyxb.utils.six as _six
# Unique identifier for bindings created at the same time
_GenerationUID = pyxb.utils.utility.UniqueIdentifier('urn:uuid:670c7c08-0897-11ee-90a5-0242ac110002')
# Version of PyXB used to generate the bindings
_PyXBVersion = '1.2.6'
# Generated bindings are not compatible across PyXB versions
if pyxb.__version__ != _PyXBVersion:
raise pyxb.PyXBVersionError(_PyXBVersion)
# A holder for module-level binding classes so we can access them from
# inside class definitions where property names may conflict.
_module_typeBindings = pyxb.utils.utility.Object()
# Import bindings for namespaces imported into schema
import pyxb.binding.datatypes
# NOTE: All namespace declarations are reserved within the binding
Namespace = pyxb.namespace.NamespaceForURI('http://schemas.humanbrainproject.eu/SP10/2014/BIBI', create_if_missing=True)
Namespace.configureCategories(['typeBinding', 'elementBinding'])
[docs]def CreateFromDocument (xml_text, default_namespace=None, location_base=None):
"""Parse the given XML and use the document element to create a
Python instance.
@param xml_text An XML document. This should be data (Python 2
str or Python 3 bytes), or a text (Python 2 unicode or Python 3
str) in the L{pyxb._InputEncoding} encoding.
@keyword default_namespace The L{pyxb.Namespace} instance to use as the
default namespace where there is no default namespace in scope.
If unspecified or C{None}, the namespace of the module containing
this function will be used.
@keyword location_base: An object to be recorded as the base of all
L{pyxb.utils.utility.Location} instances associated with events and
objects handled by the parser. You might pass the URI from which
the document was obtained.
"""
if pyxb.XMLStyle_saxer != pyxb._XMLStyle:
dom = pyxb.utils.domutils.StringToDOM(xml_text)
return CreateFromDOM(dom.documentElement, default_namespace=default_namespace)
if default_namespace is None:
default_namespace = Namespace.fallbackNamespace()
saxer = pyxb.binding.saxer.make_parser(fallback_namespace=default_namespace, location_base=location_base)
handler = saxer.getContentHandler()
xmld = xml_text
if isinstance(xmld, _six.text_type):
xmld = xmld.encode(pyxb._InputEncoding)
saxer.parse(io.BytesIO(xmld))
instance = handler.rootObject()
return instance
[docs]def CreateFromDOM (node, default_namespace=None):
"""Create a Python instance from the given DOM node.
The node tag must correspond to an element declaration in this module.
@deprecated: Forcing use of DOM interface is unnecessary; use L{CreateFromDocument}."""
if default_namespace is None:
default_namespace = Namespace.fallbackNamespace()
return pyxb.binding.basis.element.AnyCreateFromDOM(node, default_namespace)
# Atomic simple type: {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}SimulationMode
[docs]class SimulationMode (pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin):
"""The supported simulation modes of the NRP"""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'SimulationMode')
_XSDLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 52, 2)
_Documentation = 'The supported simulation modes of the NRP'
SimulationMode._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=SimulationMode, enum_prefix=None)
SimulationMode.SynchronousNestSimulation = SimulationMode._CF_enumeration.addEnumeration(unicode_value='SynchronousNestSimulation', tag='SynchronousNestSimulation')
SimulationMode.SynchronousDirectNestSimulation = SimulationMode._CF_enumeration.addEnumeration(unicode_value='SynchronousDirectNestSimulation', tag='SynchronousDirectNestSimulation')
SimulationMode.SynchronousSpinnakerSimulation = SimulationMode._CF_enumeration.addEnumeration(unicode_value='SynchronousSpinnakerSimulation', tag='SynchronousSpinnakerSimulation')
SimulationMode.SynchronousRobotRosNest = SimulationMode._CF_enumeration.addEnumeration(unicode_value='SynchronousRobotRosNest', tag='SynchronousRobotRosNest')
SimulationMode.SynchronousNengoSimulation = SimulationMode._CF_enumeration.addEnumeration(unicode_value='SynchronousNengoSimulation', tag='SynchronousNengoSimulation')
SimulationMode.SynchronousNengoLoihiSimulation = SimulationMode._CF_enumeration.addEnumeration(unicode_value='SynchronousNengoLoihiSimulation', tag='SynchronousNengoLoihiSimulation')
SimulationMode._InitializeFacetMap(SimulationMode._CF_enumeration)
Namespace.addCategoryObject('typeBinding', 'SimulationMode', SimulationMode)
_module_typeBindings.SimulationMode = SimulationMode
# Atomic simple type: {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}TimeStep
[docs]class TimeStep (pyxb.binding.datatypes.positiveInteger):
"""The timestep type of the CLE. This is a positive number in milliseconds. The maximum allowed value is an hour."""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'TimeStep')
_XSDLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 90, 2)
_Documentation = 'The timestep type of the CLE. This is a positive number in milliseconds. The maximum allowed value is an hour.'
TimeStep._CF_maxInclusive = pyxb.binding.facets.CF_maxInclusive(value_datatype=TimeStep, value=pyxb.binding.datatypes.positiveInteger(3600000))
TimeStep._InitializeFacetMap(TimeStep._CF_maxInclusive)
Namespace.addCategoryObject('typeBinding', 'TimeStep', TimeStep)
_module_typeBindings.TimeStep = TimeStep
# Atomic simple type: {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}SDFFilename
[docs]class SDFFilename (pyxb.binding.datatypes.string):
"""This type denotes a path to an SDF (or Zip) file"""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'SDFFilename')
_XSDLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 155, 2)
_Documentation = 'This type denotes a path to an SDF (or Zip) file'
SDFFilename._CF_pattern = pyxb.binding.facets.CF_pattern()
SDFFilename._CF_pattern.addPattern(pattern='(storage:)?[a-zA-Z0-9\\._/]*\\.(sdf|zip)')
SDFFilename._InitializeFacetMap(SDFFilename._CF_pattern)
Namespace.addCategoryObject('typeBinding', 'SDFFilename', SDFFilename)
_module_typeBindings.SDFFilename = SDFFilename
# Atomic simple type: {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}H5Filename
[docs]class H5Filename (pyxb.binding.datatypes.string):
"""This type denotes a path to an H5 file."""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'H5Filename')
_XSDLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 164, 2)
_Documentation = 'This type denotes a path to an H5 file.'
H5Filename._CF_pattern = pyxb.binding.facets.CF_pattern()
H5Filename._CF_pattern.addPattern(pattern='[a-zA-Z0-9\\._/]*\\.h5')
H5Filename._InitializeFacetMap(H5Filename._CF_pattern)
Namespace.addCategoryObject('typeBinding', 'H5Filename', H5Filename)
_module_typeBindings.H5Filename = H5Filename
# Atomic simple type: {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}PythonFilename
[docs]class PythonFilename (pyxb.binding.datatypes.string):
"""This type denotes a path to a Python file."""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'PythonFilename')
_XSDLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 173, 2)
_Documentation = 'This type denotes a path to a Python file.'
PythonFilename._CF_pattern = pyxb.binding.facets.CF_pattern()
PythonFilename._CF_pattern.addPattern(pattern='(storage:)?[a-zA-Z0-9\\._/]*\\.py')
PythonFilename._InitializeFacetMap(PythonFilename._CF_pattern)
Namespace.addCategoryObject('typeBinding', 'PythonFilename', PythonFilename)
_module_typeBindings.PythonFilename = PythonFilename
# Atomic simple type: {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}ScriptFilename
[docs]class ScriptFilename (pyxb.binding.datatypes.string):
"""This type denotes a path to a script file."""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'ScriptFilename')
_XSDLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 182, 2)
_Documentation = 'This type denotes a path to a script file.'
ScriptFilename._CF_pattern = pyxb.binding.facets.CF_pattern()
ScriptFilename._CF_pattern.addPattern(pattern='[a-zA-Z0-9\\._/]*\\.sh')
ScriptFilename._InitializeFacetMap(ScriptFilename._CF_pattern)
Namespace.addCategoryObject('typeBinding', 'ScriptFilename', ScriptFilename)
_module_typeBindings.ScriptFilename = ScriptFilename
# Atomic simple type: {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}ConfTypeEnumeration
[docs]class ConfTypeEnumeration (pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin):
"""This enumeration lists the standard configuration types used in the NRP."""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'ConfTypeEnumeration')
_XSDLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 214, 2)
_Documentation = 'This enumeration lists the standard configuration types used in the NRP.'
ConfTypeEnumeration._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=ConfTypeEnumeration, enum_prefix=None)
ConfTypeEnumeration.retina = ConfTypeEnumeration._CF_enumeration.addEnumeration(unicode_value='retina', tag='retina')
ConfTypeEnumeration.brainvisualizer = ConfTypeEnumeration._CF_enumeration.addEnumeration(unicode_value='brainvisualizer', tag='brainvisualizer')
ConfTypeEnumeration._InitializeFacetMap(ConfTypeEnumeration._CF_enumeration)
Namespace.addCategoryObject('typeBinding', 'ConfTypeEnumeration', ConfTypeEnumeration)
_module_typeBindings.ConfTypeEnumeration = ConfTypeEnumeration
# Union simple type: {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}BrainFilename
# superclasses pyxb.binding.datatypes.anySimpleType
[docs]class BrainFilename (pyxb.binding.basis.STD_union):
"""This denotes the supported file types for neural network models. The current version only supports Python or H5 files for neural networks."""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'BrainFilename')
_XSDLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 148, 2)
_Documentation = 'This denotes the supported file types for neural network models. The current version only supports Python or H5 files for neural networks.'
_MemberTypes = ( H5Filename, PythonFilename, )
BrainFilename._CF_pattern = pyxb.binding.facets.CF_pattern()
BrainFilename._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=BrainFilename)
BrainFilename._InitializeFacetMap(BrainFilename._CF_pattern,
BrainFilename._CF_enumeration)
Namespace.addCategoryObject('typeBinding', 'BrainFilename', BrainFilename)
_module_typeBindings.BrainFilename = BrainFilename
# Union simple type: {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}ConfType
# superclasses pyxb.binding.datatypes.anySimpleType
[docs]class ConfType (pyxb.binding.basis.STD_union):
"""This type denotes a configuration type which can be a standard configuration type or a custom type. The latter is just any string."""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'ConfType')
_XSDLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 207, 2)
_Documentation = 'This type denotes a configuration type which can be a standard configuration type or a custom type. The latter is just any string.'
_MemberTypes = ( ConfTypeEnumeration, pyxb.binding.datatypes.string, )
ConfType._CF_pattern = pyxb.binding.facets.CF_pattern()
ConfType._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=ConfType)
ConfType.retina = 'retina' # originally ConfTypeEnumeration.retina
ConfType.brainvisualizer = 'brainvisualizer' # originally ConfTypeEnumeration.brainvisualizer
ConfType._InitializeFacetMap(ConfType._CF_pattern,
ConfType._CF_enumeration)
Namespace.addCategoryObject('typeBinding', 'ConfType', ConfType)
_module_typeBindings.ConfType = ConfType
# Complex type {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}BIBIConfiguration with content type ELEMENT_ONLY
[docs]class BIBIConfiguration (pyxb.binding.basis.complexTypeDefinition):
"""This class represents the root of the BIBI configuration."""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'BIBIConfiguration')
_XSDLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 9, 2)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}timestep uses Python identifier timestep
__timestep = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'timestep'), 'timestep', '__httpschemas_humanbrainproject_euSP102014BIBI_BIBIConfiguration_httpschemas_humanbrainproject_euSP102014BIBItimestep', False, pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 14, 6), )
timestep = property(__timestep.value, __timestep.set, None, 'If specified, the CLE uses a different timestep than the default timestep of 20ms. The timestep is specified in milliseconds and depicts the time between two successive loops of the CLE in simulation time.')
# Element {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}brainModel uses Python identifier brainModel
__brainModel = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'brainModel'), 'brainModel', '__httpschemas_humanbrainproject_euSP102014BIBI_BIBIConfiguration_httpschemas_humanbrainproject_euSP102014BIBIbrainModel', False, pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 19, 6), )
brainModel = property(__brainModel.value, __brainModel.set, None, 'The brain model depicts a path to the neural network model.')
# Element {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}bodyModel uses Python identifier bodyModel
__bodyModel = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'bodyModel'), 'bodyModel', '__httpschemas_humanbrainproject_euSP102014BIBI_BIBIConfiguration_httpschemas_humanbrainproject_euSP102014BIBIbodyModel', True, pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 24, 6), )
bodyModel = property(__bodyModel.value, __bodyModel.set, None, 'The path to the robot model that should be used. This can either be a path to an SDF model or a path to a zip file containing all required assets for a robot. This zip file must have a file model.sdf at the root of the archive.')
# Element {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}mode uses Python identifier mode
__mode = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'mode'), 'mode', '__httpschemas_humanbrainproject_euSP102014BIBI_BIBIConfiguration_httpschemas_humanbrainproject_euSP102014BIBImode', False, pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 29, 6), )
mode = property(__mode.value, __mode.set, None, 'The simulation mode. This determines the choice of the neural network simulator.')
# Element {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}extRobotController uses Python identifier extRobotController
__extRobotController = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'extRobotController'), 'extRobotController', '__httpschemas_humanbrainproject_euSP102014BIBI_BIBIConfiguration_httpschemas_humanbrainproject_euSP102014BIBIextRobotController', False, pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 34, 6), )
extRobotController = property(__extRobotController.value, __extRobotController.set, None, 'A path to an external robot controller. If specified, the robot controller is started when the simulation begins and stopped when the simulation is over. Therefore, the path must be a path to a shell script that offers a function start and a function stop.')
# Element {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}configuration uses Python identifier configuration
__configuration = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'configuration'), 'configuration', '__httpschemas_humanbrainproject_euSP102014BIBI_BIBIConfiguration_httpschemas_humanbrainproject_euSP102014BIBIconfiguration', True, pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 39, 6), )
configuration = property(__configuration.value, __configuration.set, None, 'The configuration entries of an experiment depict additional files required for the simulation of experiments using this BIBI configuration.')
# Element {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}transferFunction uses Python identifier transferFunction
__transferFunction = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'transferFunction'), 'transferFunction', '__httpschemas_humanbrainproject_euSP102014BIBI_BIBIConfiguration_httpschemas_humanbrainproject_euSP102014BIBItransferFunction', True, pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 44, 6), )
transferFunction = property(__transferFunction.value, __transferFunction.set, None, 'The transfer functions that are used to couple a neural network to robot')
_ElementMap.update({
__timestep.name() : __timestep,
__brainModel.name() : __brainModel,
__bodyModel.name() : __bodyModel,
__mode.name() : __mode,
__extRobotController.name() : __extRobotController,
__configuration.name() : __configuration,
__transferFunction.name() : __transferFunction
})
_AttributeMap.update({
})
_module_typeBindings.BIBIConfiguration = BIBIConfiguration
Namespace.addCategoryObject('typeBinding', 'BIBIConfiguration', BIBIConfiguration)
# Complex type {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}BrainModel with content type ELEMENT_ONLY
[docs]class BrainModel (pyxb.binding.basis.complexTypeDefinition):
"""A neural network description as used in the CLE"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'BrainModel')
_XSDLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 107, 2)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}file uses Python identifier file
__file = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'file'), 'file', '__httpschemas_humanbrainproject_euSP102014BIBI_BrainModel_httpschemas_humanbrainproject_euSP102014BIBIfile', False, pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 112, 6), )
file = property(__file.value, __file.set, None, 'A path to the neural network file.')
# Element {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}populations uses Python identifier populations
__populations = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'populations'), 'populations', '__httpschemas_humanbrainproject_euSP102014BIBI_BrainModel_httpschemas_humanbrainproject_euSP102014BIBIpopulations', True, pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 117, 6), )
populations = property(__populations.value, __populations.set, None, "The populations in this field are the explicitly defined populations. Each of this population is defined as a view of an assumed 'circuit' population.")
_ElementMap.update({
__file.name() : __file,
__populations.name() : __populations
})
_AttributeMap.update({
})
_module_typeBindings.BrainModel = BrainModel
Namespace.addCategoryObject('typeBinding', 'BrainModel', BrainModel)
# Complex type {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}TransferFunction with content type EMPTY
[docs]class TransferFunction (pyxb.binding.basis.complexTypeDefinition):
"""This is the abstract type for a transfer function specification. A transfer function may be specified either in XML or in Python. These specification options are reflected in subclasses of the abstract transfer function type."""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
_Abstract = True
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'TransferFunction')
_XSDLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 225, 2)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Attribute active uses Python identifier active
__active = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'active'), 'active', '__httpschemas_humanbrainproject_euSP102014BIBI_TransferFunction_active', pyxb.binding.datatypes.boolean, unicode_default='true')
__active._DeclarationLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 229, 4)
__active._UseLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 229, 4)
active = property(__active.value, __active.set, None, 'Whether the Transfer Function is active')
_ElementMap.update({
})
_AttributeMap.update({
__active.name() : __active
})
_module_typeBindings.TransferFunction = TransferFunction
Namespace.addCategoryObject('typeBinding', 'TransferFunction', TransferFunction)
# Complex type {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}NeuronSelector with content type EMPTY
[docs]class NeuronSelector (pyxb.binding.basis.complexTypeDefinition):
"""The abstract base class of neuron selectors"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
_Abstract = True
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'NeuronSelector')
_XSDLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 262, 2)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Attribute population uses Python identifier population
__population = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'population'), 'population', '__httpschemas_humanbrainproject_euSP102014BIBI_NeuronSelector_population', pyxb.binding.datatypes.string, required=True)
__population._DeclarationLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 266, 4)
__population._UseLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 266, 4)
population = property(__population.value, __population.set, None, 'The population this neuron selector refers to')
_ElementMap.update({
})
_AttributeMap.update({
__population.name() : __population
})
_module_typeBindings.NeuronSelector = NeuronSelector
Namespace.addCategoryObject('typeBinding', 'NeuronSelector', NeuronSelector)
# Complex type {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}BrainModelWithPath with content type ELEMENT_ONLY
[docs]class BrainModelWithPath (BrainModel):
"""Complex type {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}BrainModelWithPath with content type ELEMENT_ONLY"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'BrainModelWithPath')
_XSDLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 99, 2)
_ElementMap = BrainModel._ElementMap.copy()
_AttributeMap = BrainModel._AttributeMap.copy()
# Base type is BrainModel
# Element file ({http://schemas.humanbrainproject.eu/SP10/2014/BIBI}file) inherited from {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}BrainModel
# Element populations ({http://schemas.humanbrainproject.eu/SP10/2014/BIBI}populations) inherited from {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}BrainModel
# Attribute model uses Python identifier model
__model = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'model'), 'model', '__httpschemas_humanbrainproject_euSP102014BIBI_BrainModelWithPath_model', pyxb.binding.datatypes.string)
__model._DeclarationLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 102, 8)
__model._UseLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 102, 8)
model = property(__model.value, __model.set, None, None)
_ElementMap.update({
})
_AttributeMap.update({
__model.name() : __model
})
_module_typeBindings.BrainModelWithPath = BrainModelWithPath
Namespace.addCategoryObject('typeBinding', 'BrainModelWithPath', BrainModelWithPath)
# Complex type {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}SDFWithPath with content type SIMPLE
[docs]class SDFWithPath (pyxb.binding.basis.complexTypeDefinition):
"""Complex type {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}SDFWithPath with content type SIMPLE"""
_TypeDefinition = SDFFilename
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_SIMPLE
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'SDFWithPath')
_XSDLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 126, 2)
_ElementMap = {}
_AttributeMap = {}
# Base type is SDFFilename
# Attribute robotId uses Python identifier robotId
__robotId = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'robotId'), 'robotId', '__httpschemas_humanbrainproject_euSP102014BIBI_SDFWithPath_robotId', pyxb.binding.datatypes.string)
__robotId._DeclarationLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 129, 8)
__robotId._UseLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 129, 8)
robotId = property(__robotId.value, __robotId.set, None, 'Robot id the pose refers to')
# Attribute model uses Python identifier model
__model = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'model'), 'model', '__httpschemas_humanbrainproject_euSP102014BIBI_SDFWithPath_model', pyxb.binding.datatypes.string)
__model._DeclarationLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 134, 8)
__model._UseLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 134, 8)
model = property(__model.value, __model.set, None, 'If the model is custom, it tells the name of the model')
# Attribute isCustom uses Python identifier isCustom
__isCustom = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'isCustom'), 'isCustom', '__httpschemas_humanbrainproject_euSP102014BIBI_SDFWithPath_isCustom', pyxb.binding.datatypes.boolean)
__isCustom._DeclarationLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 139, 8)
__isCustom._UseLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 139, 8)
isCustom = property(__isCustom.value, __isCustom.set, None, 'Whether the model is custom')
_ElementMap.update({
})
_AttributeMap.update({
__robotId.name() : __robotId,
__model.name() : __model,
__isCustom.name() : __isCustom
})
_module_typeBindings.SDFWithPath = SDFWithPath
Namespace.addCategoryObject('typeBinding', 'SDFWithPath', SDFWithPath)
# Complex type {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}PythonTransferFunction with content type MIXED
[docs]class PythonTransferFunction (TransferFunction):
"""This type denotes a transfer function entirely specified in the Python DSL PyTF."""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_MIXED
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'PythonTransferFunction')
_XSDLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 236, 2)
_ElementMap = TransferFunction._ElementMap.copy()
_AttributeMap = TransferFunction._AttributeMap.copy()
# Base type is TransferFunction
# Attribute active inherited from {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}TransferFunction
# Attribute src uses Python identifier src
__src = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'src'), 'src', '__httpschemas_humanbrainproject_euSP102014BIBI_PythonTransferFunction_src', _module_typeBindings.PythonFilename)
__src._DeclarationLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 247, 8)
__src._UseLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 247, 8)
src = property(__src.value, __src.set, None, "The 'src' attribute denotes the path of a python file that contains the entire transfer function. If this attribute is present, the actual contents of the transfer function element is ignored and only the contents of the specified Python file are taken into account.")
# Attribute priority uses Python identifier priority
__priority = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'priority'), 'priority', '__httpschemas_humanbrainproject_euSP102014BIBI_PythonTransferFunction_priority', pyxb.binding.datatypes.nonNegativeInteger)
__priority._DeclarationLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 252, 8)
__priority._UseLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 252, 8)
priority = property(__priority.value, __priority.set, None, "The 'priority' attribute is used to specify the order in which transfer functions are executed at every simulation step. Transfer functions with higher priority are executed first.")
_HasWildcardElement = True
_ElementMap.update({
})
_AttributeMap.update({
__src.name() : __src,
__priority.name() : __priority
})
_module_typeBindings.PythonTransferFunction = PythonTransferFunction
Namespace.addCategoryObject('typeBinding', 'PythonTransferFunction', PythonTransferFunction)
# Complex type {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}Index with content type EMPTY
[docs]class Index (NeuronSelector):
"""Selection of exactly one neuron using an index of a base population"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'Index')
_XSDLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 273, 2)
_ElementMap = NeuronSelector._ElementMap.copy()
_AttributeMap = NeuronSelector._AttributeMap.copy()
# Base type is NeuronSelector
# Attribute population inherited from {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}NeuronSelector
# Attribute index uses Python identifier index
__index = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'index'), 'index', '__httpschemas_humanbrainproject_euSP102014BIBI_Index_index', pyxb.binding.datatypes.nonNegativeInteger, required=True)
__index._DeclarationLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 279, 8)
__index._UseLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 279, 8)
index = property(__index.value, __index.set, None, 'The index of the selected neuron within its population')
_ElementMap.update({
})
_AttributeMap.update({
__index.name() : __index
})
_module_typeBindings.Index = Index
Namespace.addCategoryObject('typeBinding', 'Index', Index)
# Complex type {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}MultiNeuronSelector with content type EMPTY
[docs]class MultiNeuronSelector (NeuronSelector):
"""
The abstract base class of selections of multiple neurons
"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
_Abstract = True
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'MultiNeuronSelector')
_XSDLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 288, 2)
_ElementMap = NeuronSelector._ElementMap.copy()
_AttributeMap = NeuronSelector._AttributeMap.copy()
# Base type is NeuronSelector
# Attribute population inherited from {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}NeuronSelector
_ElementMap.update({
})
_AttributeMap.update({
})
_module_typeBindings.MultiNeuronSelector = MultiNeuronSelector
Namespace.addCategoryObject('typeBinding', 'MultiNeuronSelector', MultiNeuronSelector)
# Complex type {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}ConfFile with content type EMPTY
[docs]class ConfFile (pyxb.binding.basis.complexTypeDefinition):
"""This type denotes an additional configuration entry that consists of a file and a purpose."""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'ConfFile')
_XSDLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 191, 2)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Attribute src uses Python identifier src
__src = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'src'), 'src', '__httpschemas_humanbrainproject_euSP102014BIBI_ConfFile_src', pyxb.binding.datatypes.string, required=True)
__src._DeclarationLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 195, 4)
__src._UseLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 195, 4)
src = property(__src.value, __src.set, None, 'The source of a configuration entry is a path to a file that contains the necessary information. The path is relative to the BIBI model.')
# Attribute type uses Python identifier type
__type = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'type'), 'type', '__httpschemas_humanbrainproject_euSP102014BIBI_ConfFile_type', _module_typeBindings.ConfType, required=True)
__type._DeclarationLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 200, 4)
__type._UseLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 200, 4)
type = property(__type.value, __type.set, None, 'The type of a configuration entry denotes the purpose how this entry is used. This is used to decouple the purpose of a configuration entry from the file name.')
_ElementMap.update({
})
_AttributeMap.update({
__src.name() : __src,
__type.name() : __type
})
_module_typeBindings.ConfFile = ConfFile
Namespace.addCategoryObject('typeBinding', 'ConfFile', ConfFile)
# Complex type {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}Range with content type EMPTY
[docs]class Range (MultiNeuronSelector):
"""Selection of a range of neurons from an existing population"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'Range')
_XSDLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 299, 2)
_ElementMap = MultiNeuronSelector._ElementMap.copy()
_AttributeMap = MultiNeuronSelector._AttributeMap.copy()
# Base type is MultiNeuronSelector
# Attribute population inherited from {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}NeuronSelector
# Attribute from uses Python identifier from_
__from = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'from'), 'from_', '__httpschemas_humanbrainproject_euSP102014BIBI_Range_from', pyxb.binding.datatypes.nonNegativeInteger, required=True)
__from._DeclarationLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 305, 8)
__from._UseLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 305, 8)
from_ = property(__from.value, __from.set, None, 'The starting index from which neurons are selected')
# Attribute to uses Python identifier to
__to = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'to'), 'to', '__httpschemas_humanbrainproject_euSP102014BIBI_Range_to', pyxb.binding.datatypes.nonNegativeInteger, required=True)
__to._DeclarationLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 310, 8)
__to._UseLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 310, 8)
to = property(__to.value, __to.set, None, 'The stop index to which neurons are selected')
# Attribute step uses Python identifier step
__step = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'step'), 'step', '__httpschemas_humanbrainproject_euSP102014BIBI_Range_step', pyxb.binding.datatypes.positiveInteger)
__step._DeclarationLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 315, 8)
__step._UseLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 315, 8)
step = property(__step.value, __step.set, None, 'The step of the selection')
_ElementMap.update({
})
_AttributeMap.update({
__from.name() : __from,
__to.name() : __to,
__step.name() : __step
})
_module_typeBindings.Range = Range
Namespace.addCategoryObject('typeBinding', 'Range', Range)
# Complex type {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}List with content type ELEMENT_ONLY
[docs]class List (MultiNeuronSelector):
"""Selection of a list of neurons using their indices"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'List')
_XSDLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 324, 2)
_ElementMap = MultiNeuronSelector._ElementMap.copy()
_AttributeMap = MultiNeuronSelector._AttributeMap.copy()
# Base type is MultiNeuronSelector
# Element {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}element uses Python identifier element
__element = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, 'element'), 'element', '__httpschemas_humanbrainproject_euSP102014BIBI_List_httpschemas_humanbrainproject_euSP102014BIBIelement', True, pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 331, 10), )
element = property(__element.value, __element.set, None, 'The indices of selected neurons')
# Attribute population inherited from {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}NeuronSelector
_ElementMap.update({
__element.name() : __element
})
_AttributeMap.update({
})
_module_typeBindings.List = List
Namespace.addCategoryObject('typeBinding', 'List', List)
# Complex type {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}Population with content type EMPTY
[docs]class Population (MultiNeuronSelector):
"""Selection of an entire population of neurons"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'Population')
_XSDLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 341, 2)
_ElementMap = MultiNeuronSelector._ElementMap.copy()
_AttributeMap = MultiNeuronSelector._AttributeMap.copy()
# Base type is MultiNeuronSelector
# Attribute population inherited from {http://schemas.humanbrainproject.eu/SP10/2014/BIBI}NeuronSelector
# Attribute count uses Python identifier count
__count = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'count'), 'count', '__httpschemas_humanbrainproject_euSP102014BIBI_Population_count', pyxb.binding.datatypes.positiveInteger, required=True)
__count._DeclarationLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 347, 8)
__count._UseLocation = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 347, 8)
count = property(__count.value, __count.set, None, 'The size of the selected population. This is necessary for validation purposes where the neural network is not available.')
_ElementMap.update({
})
_AttributeMap.update({
__count.name() : __count
})
_module_typeBindings.Population = Population
Namespace.addCategoryObject('typeBinding', 'Population', Population)
bibi = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'bibi'), BIBIConfiguration, location=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 8, 2))
Namespace.addCategoryObject('elementBinding', bibi.name().localName(), bibi)
BIBIConfiguration._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'timestep'), TimeStep, scope=BIBIConfiguration, documentation='If specified, the CLE uses a different timestep than the default timestep of 20ms. The timestep is specified in milliseconds and depicts the time between two successive loops of the CLE in simulation time.', location=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 14, 6)))
BIBIConfiguration._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'brainModel'), BrainModelWithPath, scope=BIBIConfiguration, documentation='The brain model depicts a path to the neural network model.', location=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 19, 6)))
BIBIConfiguration._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'bodyModel'), SDFWithPath, scope=BIBIConfiguration, documentation='The path to the robot model that should be used. This can either be a path to an SDF model or a path to a zip file containing all required assets for a robot. This zip file must have a file model.sdf at the root of the archive.', location=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 24, 6)))
BIBIConfiguration._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'mode'), SimulationMode, scope=BIBIConfiguration, documentation='The simulation mode. This determines the choice of the neural network simulator.', location=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 29, 6)))
BIBIConfiguration._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'extRobotController'), ScriptFilename, scope=BIBIConfiguration, documentation='A path to an external robot controller. If specified, the robot controller is started when the simulation begins and stopped when the simulation is over. Therefore, the path must be a path to a shell script that offers a function start and a function stop.', location=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 34, 6)))
BIBIConfiguration._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'configuration'), ConfFile, scope=BIBIConfiguration, documentation='The configuration entries of an experiment depict additional files required for the simulation of experiments using this BIBI configuration.', location=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 39, 6)))
BIBIConfiguration._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'transferFunction'), TransferFunction, scope=BIBIConfiguration, documentation='The transfer functions that are used to couple a neural network to robot', location=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 44, 6)))
def _BuildAutomaton_ ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton_
del _BuildAutomaton_
import pyxb.utils.fac as fac
counters = set()
cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 14, 6))
counters.add(cc_0)
states = []
final_update = set()
final_update.add(fac.UpdateInstruction(cc_0, False))
symbol = pyxb.binding.content.ElementUse(BIBIConfiguration._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'timestep')), pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 14, 6))
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_0)
transitions = []
transitions.append(fac.Transition(st_0, [
fac.UpdateInstruction(cc_0, True) ]))
st_0._set_transitionSet(transitions)
return fac.Automaton(states, counters, True, containing_state=st_0)
def _BuildAutomaton_2 ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton_2
del _BuildAutomaton_2
import pyxb.utils.fac as fac
counters = set()
cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 19, 6))
counters.add(cc_0)
states = []
final_update = set()
final_update.add(fac.UpdateInstruction(cc_0, False))
symbol = pyxb.binding.content.ElementUse(BIBIConfiguration._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'brainModel')), pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 19, 6))
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_0)
transitions = []
transitions.append(fac.Transition(st_0, [
fac.UpdateInstruction(cc_0, True) ]))
st_0._set_transitionSet(transitions)
return fac.Automaton(states, counters, True, containing_state=st_0)
def _BuildAutomaton_3 ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton_3
del _BuildAutomaton_3
import pyxb.utils.fac as fac
counters = set()
cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 24, 6))
counters.add(cc_0)
states = []
final_update = set()
final_update.add(fac.UpdateInstruction(cc_0, False))
symbol = pyxb.binding.content.ElementUse(BIBIConfiguration._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'bodyModel')), pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 24, 6))
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_0)
transitions = []
transitions.append(fac.Transition(st_0, [
fac.UpdateInstruction(cc_0, True) ]))
st_0._set_transitionSet(transitions)
return fac.Automaton(states, counters, True, containing_state=st_0)
def _BuildAutomaton_4 ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton_4
del _BuildAutomaton_4
import pyxb.utils.fac as fac
counters = set()
cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 29, 6))
counters.add(cc_0)
states = []
final_update = set()
final_update.add(fac.UpdateInstruction(cc_0, False))
symbol = pyxb.binding.content.ElementUse(BIBIConfiguration._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'mode')), pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 29, 6))
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_0)
transitions = []
transitions.append(fac.Transition(st_0, [
fac.UpdateInstruction(cc_0, True) ]))
st_0._set_transitionSet(transitions)
return fac.Automaton(states, counters, True, containing_state=st_0)
def _BuildAutomaton_5 ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton_5
del _BuildAutomaton_5
import pyxb.utils.fac as fac
counters = set()
cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 34, 6))
counters.add(cc_0)
states = []
final_update = set()
final_update.add(fac.UpdateInstruction(cc_0, False))
symbol = pyxb.binding.content.ElementUse(BIBIConfiguration._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'extRobotController')), pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 34, 6))
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_0)
transitions = []
transitions.append(fac.Transition(st_0, [
fac.UpdateInstruction(cc_0, True) ]))
st_0._set_transitionSet(transitions)
return fac.Automaton(states, counters, True, containing_state=st_0)
def _BuildAutomaton_6 ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton_6
del _BuildAutomaton_6
import pyxb.utils.fac as fac
counters = set()
cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 39, 6))
counters.add(cc_0)
states = []
final_update = set()
final_update.add(fac.UpdateInstruction(cc_0, False))
symbol = pyxb.binding.content.ElementUse(BIBIConfiguration._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'configuration')), pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 39, 6))
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_0)
transitions = []
transitions.append(fac.Transition(st_0, [
fac.UpdateInstruction(cc_0, True) ]))
st_0._set_transitionSet(transitions)
return fac.Automaton(states, counters, True, containing_state=st_0)
def _BuildAutomaton_7 ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton_7
del _BuildAutomaton_7
import pyxb.utils.fac as fac
counters = set()
cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 44, 6))
counters.add(cc_0)
states = []
final_update = set()
final_update.add(fac.UpdateInstruction(cc_0, False))
symbol = pyxb.binding.content.ElementUse(BIBIConfiguration._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'transferFunction')), pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 44, 6))
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_0)
transitions = []
transitions.append(fac.Transition(st_0, [
fac.UpdateInstruction(cc_0, True) ]))
st_0._set_transitionSet(transitions)
return fac.Automaton(states, counters, True, containing_state=st_0)
def _BuildAutomaton ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton
del _BuildAutomaton
import pyxb.utils.fac as fac
counters = set()
cc_0 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 14, 6))
counters.add(cc_0)
cc_1 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 19, 6))
counters.add(cc_1)
cc_2 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 24, 6))
counters.add(cc_2)
cc_3 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 29, 6))
counters.add(cc_3)
cc_4 = fac.CounterCondition(min=0, max=1, metadata=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 34, 6))
counters.add(cc_4)
cc_5 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 39, 6))
counters.add(cc_5)
cc_6 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 44, 6))
counters.add(cc_6)
states = []
sub_automata = []
sub_automata.append(_BuildAutomaton_())
sub_automata.append(_BuildAutomaton_2())
sub_automata.append(_BuildAutomaton_3())
sub_automata.append(_BuildAutomaton_4())
sub_automata.append(_BuildAutomaton_5())
sub_automata.append(_BuildAutomaton_6())
sub_automata.append(_BuildAutomaton_7())
final_update = set()
symbol = pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 13, 4)
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=True)
st_0._set_subAutomata(*sub_automata)
states.append(st_0)
transitions = []
st_0._set_transitionSet(transitions)
return fac.Automaton(states, counters, True, containing_state=None)
BIBIConfiguration._Automaton = _BuildAutomaton()
BrainModel._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'file'), BrainFilename, scope=BrainModel, documentation='A path to the neural network file.', location=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 112, 6)))
BrainModel._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'populations'), MultiNeuronSelector, scope=BrainModel, documentation="The populations in this field are the explicitly defined populations. Each of this population is defined as a view of an assumed 'circuit' population.", location=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 117, 6)))
def _BuildAutomaton_8 ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton_8
del _BuildAutomaton_8
import pyxb.utils.fac as fac
counters = set()
cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 117, 6))
counters.add(cc_0)
states = []
final_update = set()
symbol = pyxb.binding.content.ElementUse(BrainModel._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'file')), pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 112, 6))
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_0)
final_update = set()
final_update.add(fac.UpdateInstruction(cc_0, False))
symbol = pyxb.binding.content.ElementUse(BrainModel._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'populations')), pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 117, 6))
st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False)
states.append(st_1)
transitions = []
transitions.append(fac.Transition(st_1, [
]))
st_0._set_transitionSet(transitions)
transitions = []
transitions.append(fac.Transition(st_1, [
fac.UpdateInstruction(cc_0, True) ]))
st_1._set_transitionSet(transitions)
return fac.Automaton(states, counters, False, containing_state=None)
BrainModel._Automaton = _BuildAutomaton_8()
def _BuildAutomaton_9 ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton_9
del _BuildAutomaton_9
import pyxb.utils.fac as fac
counters = set()
cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 117, 6))
counters.add(cc_0)
states = []
final_update = set()
symbol = pyxb.binding.content.ElementUse(BrainModelWithPath._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'file')), pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 112, 6))
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_0)
final_update = set()
final_update.add(fac.UpdateInstruction(cc_0, False))
symbol = pyxb.binding.content.ElementUse(BrainModelWithPath._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'populations')), pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 117, 6))
st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False)
states.append(st_1)
transitions = []
transitions.append(fac.Transition(st_1, [
]))
st_0._set_transitionSet(transitions)
transitions = []
transitions.append(fac.Transition(st_1, [
fac.UpdateInstruction(cc_0, True) ]))
st_1._set_transitionSet(transitions)
return fac.Automaton(states, counters, False, containing_state=None)
BrainModelWithPath._Automaton = _BuildAutomaton_9()
def _BuildAutomaton_10 ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton_10
del _BuildAutomaton_10
import pyxb.utils.fac as fac
counters = set()
cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 243, 10))
counters.add(cc_0)
states = []
final_update = set()
final_update.add(fac.UpdateInstruction(cc_0, False))
symbol = pyxb.binding.content.WildcardUse(pyxb.binding.content.Wildcard(process_contents=pyxb.binding.content.Wildcard.PC_skip, namespace_constraint=(pyxb.binding.content.Wildcard.NC_not, 'http://schemas.humanbrainproject.eu/SP10/2014/BIBI')), pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 243, 10))
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_0)
transitions = []
transitions.append(fac.Transition(st_0, [
fac.UpdateInstruction(cc_0, True) ]))
st_0._set_transitionSet(transitions)
return fac.Automaton(states, counters, True, containing_state=None)
PythonTransferFunction._Automaton = _BuildAutomaton_10()
List._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'element'), pyxb.binding.datatypes.nonNegativeInteger, scope=List, documentation='The indices of selected neurons', location=pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 331, 10)))
def _BuildAutomaton_11 ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton_11
del _BuildAutomaton_11
import pyxb.utils.fac as fac
counters = set()
states = []
final_update = set()
symbol = pyxb.binding.content.ElementUse(List._UseForTag(pyxb.namespace.ExpandedName(Namespace, 'element')), pyxb.utils.utility.Location('/home/ubuntu/workspace/Deploy_docs/ExDBackend/bibi_configuration.xsd', 331, 10))
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_0)
transitions = []
transitions.append(fac.Transition(st_0, [
]))
st_0._set_transitionSet(transitions)
return fac.Automaton(states, counters, False, containing_state=None)
List._Automaton = _BuildAutomaton_11()