import math


def getLOG(rawEMGSignal):
    """ LOG is a feature that provides an estimate of the muscle contraction force.::

            LOG = e^((1/N) * sum(|xi|)) for x i = 1 --> N

        * Input:
            * raw EMG Signal
        * Output = * LOG

        :param rawEMGSignal: the raw EMG signal
        :type rawEMGSignal: list
        :return: LOG feature of the EMG Signal
        :rtype: float
    """
    LOG = math.exp((1 / len(rawEMGSignal)) * sum([abs(x) for x in rawEMGSignal]))

    return (LOG)