modeci_mdf.mdf.OutputPort
- class modeci_mdf.mdf.OutputPort(id: str, value: str | None = None, shape=(), type: str | None = None, *, metadata: Dict[str, Any] | None = None)[source]
Bases:
MdfBaseThe
OutputPortis an attribute of aNodewhich exports information to anotherNodeconnected by anEdge- Variables:
id (str) – Unique identifier for the output port.
value (str | None) – The value of the
OutputPortin terms of theInputPort,Functionvalues, andParametervalues.shape (Tuple[int, ...] | None) – 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 (str | None) – The data type of the output sent by a port.
Method generated by attrs for class OutputPort.
Methods