Device Transmission

Inheritance diagram of hermespy.core.device.DeviceTransmission
class DeviceTransmission(operator_transmissions, mixed_signal)[source]

Bases: DeviceOutput

Information generated by transmitting over a device.

Parameters:
  • operator_transmissions (Sequence[Transmission]) – List of information generated by transmit operators.

  • mixed_signal (Signal) – Mixed signal transmitted by the device.

classmethod Deserialize(process)[source]

Deserialize an object’s state.

Objects cannot be deserialized directly, instead a Factory must be instructed to carry out the deserialization process.

Parameters:

process (DeserializationProcess) – The current stage of the deserialization process. This object is generated by the Factory and provides an interface to deserialization methods supporting multiple backends.

Return type:

DeviceTransmission

Returns:

The deserialized object.

classmethod From_Output(output, operator_transmissions)[source]

Initialize a device transmission from a device output.

Parameters:
Return type:

DeviceTransmission

serialize(process)[source]

Serialize this object’s state.

Objects cannot be serialized directly, instead a Factory must be instructed to carry out the serialization process.

Parameters:

process (SerializationProcess) – The current stage of the serialization process. This object is generated by the Factory and provides an interface to serialization methods supporting multiple backends.

Return type:

None

property num_operator_transmissions: int

Number of operator transmissions.

property operator_transmissions: Sequence[Transmission]

Information transmitted by device operators.

Returns: Operator information.

class DTT

Type of device transmission.

alias of TypeVar(‘DTT’, bound=DeviceTransmission)