def constant(x, amp):
    """ Constant model

    :param x: Dispersion
    :type x: np.ndarray
    :param amp: Amplitude of the constant model
    :type amp: float
    :return: Constant model
    :rtype: np.ndarray
    """

    return amp + 0 * x