def signal_min_max(sampled_signal):
    """Returns the min and max of the signal
    Parameters
    :param sampled_signal: ndarray
        Signal used to get the min and max
    :return: scalar, scalar
        Returns the max and min of signal in form [max, min]
    """
    return [max(sampled_signal), min(sampled_signal)]