def standardise(x,l1,l2):
    """standardise data x to [0,1]


    Parameters
    
    x: original data    
    l1: lower bound
    l2: upper bound
    ----------

    Returns
    -------
    
    standardised data


    """  
   
    return (x-l1)/float(l2-l1)