def check_params(params):
    """ Checks if the parameters are defined in the domain [0, 1].

    :param params: parameters (u, v, w)
    :type params: list, tuple
    :raises ValueError: input parameters are outside of the domain [0, 1]
    """
    tol = 10e-8
    # Check parameters
    for prm in params:
        if prm is not None:
            if not (0.0 - tol) <= prm <= (1.0 + tol):
                raise ValueError("Parameters should be between 0 and 1")
    return True