def __search_index(self, x):
    '\n        search data segment index\n        '
    return (bisect.bisect(self.x, x) - 1)
search data segment index
def __search_index(self, x):
    '\n        \n        '
    return (bisect.bisect(self.x, x) - 1)