diff --git a/comyx/network/links.py b/comyx/network/links.py index 2efdfee..2c8e2d3 100644 --- a/comyx/network/links.py +++ b/comyx/network/links.py @@ -113,6 +113,9 @@ def generate_channel_gain(self) -> NDArrayComplex: return channel_gain + def __repr__(self) -> str: + return f"Link({self.tx.id}, {self.rx.id}) of shape {self.shape}" + class RISLink(Link): r"""Represents an RIS link in the modelled environment.