Device Output

Inheritance diagram of hermespy.core.device.DeviceOutput
class DeviceOutput(mixed_signal)[source]

Bases: Serializable

Base class for the output of a device.

Parameters:

mixed_signal (Signal) – Mixed signal emerging from 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:

DeviceOutput

Returns:

The deserialized object.

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 carrier_frequency: float

Carrier frequency at which the device operates.

Returns: Carrier frequency in Hz.

property emerging_signals: Sequence[Signal]

Models of electromagnetic signals generated by the device.

Returns: List of signal models.

property mixed_signal: Signal

Combined signal of the device’s transmissions.

Returns: Signal model of the device’s electromagnetic transmission.

property num_antennas: int

Number of transmitting device antennas.

Returns: Number of antennas.

property num_emerging_signals: int

Number of emerging signal models.

Returns: Count of models.

property sampling_rate: float

Sampling rate at which the device operates.

Returns: Sampling rate in Hz.