pytwinnet.physics.ris_beam¶
Classes
|
Wraps a base PropagationModel. |
|
Toy RIS with a steerable mainlobe. Approximates array gain: |
- class pytwinnet.physics.ris_beam.RISBeamModel(base, ris, extra_loss_db=3.0)[source]¶
Bases:
PropagationModelWraps a base PropagationModel. For a configured target UE (by id), the RIS contributes mainlobe gain on the two-hop path; others see sidelobe gain. Effective path loss = min( direct, (tx->RIS + RIS->rx - gain + extra_loss_db) ).
- Parameters:
base (PropagationModel)
ris (SmartRISPanel)
extra_loss_db (float)
- calculate_path_loss(tx, rx, environment)[source]¶
- Return type:
- Parameters:
tx (WirelessNode)
rx (WirelessNode)
environment (Environment)