modeci_mdf.mdf.OutputPort
- class modeci_mdf.mdf.OutputPort(id: str, value: Optional[str] = None, shape=None, type: Optional[str] = None, *, metadata: Optional[Dict[str, Any]] = None)[source]
Bases:
MdfBase
The
OutputPort
is an attribute of aNode
which exports information to anotherNode
connected by anEdge
- Variables:
id (str) – Unique identifier for the output port.
value (Optional[str]) – The value of the
OutputPort
in terms of theInputPort
,Function
values, andParameter
values.shape (Optional[Tuple[int, ...]]) – The shape of the output port. This uses the same syntax as numpy ndarray shapes (e.g.,
numpy.zeros(shape)
would produce an array with the correct shapetype (Optional[str]) – The data type of the output sent by a port.
Method generated by attrs for class OutputPort.
Methods