def __init__(self, *argv):
    self.point_mode = False
    self.use_ml = True
    if (len(argv) == 1):
        events = list(argv[0])
        events.sort()
        events = num.array(events)
        self.cellContent = num.ones(len(argv[0]))
        self.cellSizes = self._generateCells(events)
        self.binned = False
    else:
        try:
            self._readPointData(argv)
        except TypeError:
            self.cellContent = copy.deepcopy(argv[0])
            self.cellSizes = copy.deepcopy(argv[1])
            self.tstart = argv[2]
        self.binned = True
def __init__(self, *argv):
    self.point_mode = False
    self.use_ml = True
    if (len(argv) == 1):
        events = list(argv[0])
        events.sort()
        events = num.array(events)
        self.cellContent = num.ones(len(argv[0]))
        self.cellSizes = self._generateCells(events)
        self.binned = False
    else:
        try:
            self._readPointData(argv)
        except TypeError:
            self.cellContent = copy.deepcopy(argv[0])
            self.cellSizes = copy.deepcopy(argv[1])
            self.tstart = argv[2]
        self.binned = True