opto.trace.containers
#
Module Contents#
Classes#
An identifier for a container of nodes. |
|
A container of parameter nodes. |
|
Seq is defined as having a length and an index. Python’s list/tuple will be converted to Seq |
|
Map is defined as key and value Python’s dict will be converted to Map |
Functions#
API#
- class ParameterContainer[source]#
Bases:
opto.trace.containers.NodeContainer
A container of parameter nodes.
- class Seq(*args)[source]#
Bases:
collections.UserList
,opto.trace.containers.ParameterContainer
Seq is defined as having a length and an index. Python’s list/tuple will be converted to Seq
Initialization
- class Map(mapping)[source]#
Bases:
collections.UserDict
,opto.trace.containers.ParameterContainer
Map is defined as key and value Python’s dict will be converted to Map
Initialization