(self,a,b)
Returns 1 if a > b, -1 if a < b, 0 otherwise
    Assumes self.scale adjustment has already been made
Returns 1 if a > b, -1 if a < b, 0 otherwise
    Assumes self.scale adjustment has already been made
Returns 1 if a > b - 1 if a < b 0 otherwise Assumes self . scale adjustment has already been made
def __monotone_rel__(self,a,b):
    """ 
    Returns 1 if a > b, -1 if a < b, 0 otherwise
    Assumes self.scale adjustment has already been made
    """
    adj_diff = np.array(a)-np.array(b)
    if min(adj_diff) >= 0 and max(adj_diff) > 0:
      return 1
    elif max(adj_diff) > 0 and min(adj_diff) < 0:
      return 0
    else:
      return -1
def __monotone_rel__ ( self , a , b ) : adj_diff = np . array ( a ) - np . array ( b ) if min ( adj_diff ) >= 0 and max ( adj_diff ) > 0 : return 1 elif max ( adj_diff ) > 0 and min ( adj_diff ) < 0 : return 0 else : return - 1