comyx.propagation#

Package Summary#

Functions#

get_noise_power(→ Union[float, NDArrayFloat])

Compute the noise power in dBm.

get_pathloss(→ NDArrayFloat)

Get path loss in dB.

thermal_noise(→ float)

Compute the thermal noise.

Reference#

comyx.propagation.get_noise_power(bandwidth: float, temperature: float = 300, noise_figure: float = 0) float | NDArrayFloat[source]#

Compute the noise power in dBm.

Parameters:
  • bandwidth – Bandwidth in Hz.

  • temperature – Temperature in Kelvin.

  • noise_figure – Noise figure in dB.

Returns:

Noise power in dBm.

comyx.propagation.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.

comyx.propagation.thermal_noise(temperature: float = 300) float[source]#

Compute the thermal noise.

Parameters:
  • bandwidth – Bandwidth in Hz.

  • temperature – Temperature in Kelvin.

Returns:

Thermal noise.