.. :html_theme.sidebar_secondary.remove:

:orphan:

:py:mod:`comyx.propagation.pathloss`
====================================

.. py:module:: comyx.propagation.pathloss


Module Summary
---------------


Functions
~~~~~~~~~

.. autoapisummary::

   comyx.propagation.pathloss.get_pathloss




Reference
---------

.. py:function:: get_pathloss(distance: float, type: str, frequency: float, *args, **kwargs) -> NDArrayFloat

   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.

   :param distance: Distance between transmitter and receiver.
   :param type: Path loss model type. ("reference", "friis", "log-distance")
   :param frequency: Frequency of the signal.
   :param \*args: Positional arguments for the path loss model.
   :param \*\*kwargs: Keyword arguments for the path loss model.

   :returns: Path loss in dB.


