comyx.propagation.pathloss

comyx.propagation.pathloss#

Module Summary#

Functions#

get_pathloss(→ NDArrayFloat)

Get path loss in dB.

Reference#

comyx.propagation.pathloss.get_pathloss(distance: float, type: str, frequency: float, *args, **kwargs) NDArrayFloat[source]#

Get path loss in dB.

Reference:

alpha: Path loss exponent. p0: Reference path loss at 1m.

Log Distance:

d0: The breakpoint distance. alpha: The path loss exponent. sigma: The shadow fading standard deviation.

Parameters:
  • distance – Distance between transmitter and receiver.

  • type – Path loss model type. (“reference”, “friis”, “log-distance”)

  • frequency – Frequency of the signal.

  • *args – Positional arguments for the path loss model.

  • **kwargs – Keyword arguments for the path loss model.

Returns:

Path loss in dB.