Specific Isolation¶
![Inheritance diagram of hermespy.simulation.isolation.specific.SpecificIsolation](../_images/inheritance-a80afede8f61a1644c93795459fe23b72fcb9ab8.png)
The specific isolation implementation is a simplified isolation assumption assuming a scalar relationship between transmitted waveforms and waveforms leaking into the receiving radio-frequency chains.
Configuring a SimulatedDevice's
with a specific 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 with a high-pass characteristic
6leakage_frequency_response = np.zeros((1, 1, 101))
7leakage_frequency_response[0, 0, :50] = np.linspace(1, 0, 50, endpoint=False)
8leakage_frequency_response[0, 0, 50:] = np.linspace(0, 1, 51, endpoint=True)
9leakage_impulse_response = ifft(ifftshift(leakage_frequency_response))
10device.isolation = SelectiveLeakage(leakage_impulse_response)