Perfect Isolation

Inheritance diagram of hermespy.simulation.isolation.perfect.PerfectIsolation

The perfect isolation implementation is HermesPy’s default isolation assumption, leaking no power from transmit to receive antennas and therfore modeling perfect / ideal isolation.

Configuring a SimulatedDevice's with a perfect isolation model is achived by setting the isolation property of an instance..

1# Create a new device
2simulation = Simulation()
3device = simulation.new_device()
4
5# Specify the device's isolation model
6device.isolation = PerfectIsolation()
class PerfectIsolation(device=None)[source]

Bases: Isolation

Perfect isolation model without leakage between RF chains.

Parameters:

device (SimulatedDevice | None) – Device the model is configured to.

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:

PerfectIsolation

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