def handle_click_events(self, event):
        if not isinstance(event, QMouseEvent):
            raise ValueError("event must be an instance of QMouseEvent")
        mouse_position = event.pos()
        self.__ripple.x = mouse_position.x()
        self.__ripple.y = mouse_position.y()
        self.__ripple.update()
        self.__ripple.animate().scale(QPoint(100, 100)).duration(200).start()
        QApplication.processEvents()
Filter `choosers` and `alternatives` for prediction.
dataset/ETHPy150Open GelaniNijraj/PyMaterial/MUtilities/MRipple.py/MRipple.handle_click_events--crossover with--dataset/ETHPy150Open UDST/urbansim/urbansim/models/dcm.py/SegmentedMNLDiscreteChoiceModel.apply_predict_filters