Skip to content

Commit

Permalink
Add link representation
Browse files Browse the repository at this point in the history
  • Loading branch information
muhd-umer committed Feb 18, 2024
1 parent 71f42a0 commit 8c01e13
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions comyx/network/links.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8c01e13

Please sign in to comment.