def ConvertToBinaryList(x):
    """

        Method to convert an arbitrary length list of integers to a binary valued
        list where the binary value is 1 only if the original value is > 0

    :param x:
    :return:
    """

    binaryList = list()
    for ii in range(len(x)):
        if x[ii] > 0:
            binaryList.append(1)
        else:
            binaryList.append(0)

    return binaryList