Specific Isolation¶
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)