def go_to_marker(self, row, col, table_type):
        """Move to point in time marked by the marker.

        Parameters
        ----------
        row : QtCore.int

        column : QtCore.int

        table_type : str
            'dataset' table or 'annot' table, it works on either
        """
        if table_type == 'dataset':
            marker_time = self.idx_marker.property('start')[row]
            marker_end_time = self.idx_marker.property('end')[row]
        else:
            marker_time = self.idx_annot_list.property('start')[row]
            marker_end_time = self.idx_annot_list.property('end')[row]

        window_length = self.parent.value('window_length')
        
        if self.parent.traces.action['centre_event'].isChecked():
            window_start = (marker_time + marker_end_time - window_length) / 2
        else:
            window_start = floor(marker_time / window_length) * window_length
            
        self.parent.overview.update_position(window_start)
        
        if table_type == 'annot':
            for annot in self.parent.traces.idx_annot:
                if annot.marker.x() == marker_time:
                    self.parent.traces.highlight_event(annot)
                    break
def go_to_marker ( self , row , col , table_type ) : if table_type == 'dataset' : marker_time = self . idx_marker . property ( 'start' ) [ row ] marker_end_time = self . idx_marker . property ( 'end' ) [ row ] else : marker_time = self . idx_annot_list . property ( 'start' ) [ row ] marker_end_time = self . idx_annot_list . property ( 'end' ) [ row ] window_length = self . parent . value ( 'window_length' ) if self . parent . traces . action [ 'centre_event' ] . isChecked ( ) : window_start = ( marker_time + marker_end_time - window_length ) / 2 else : window_start = floor ( marker_time / window_length ) * window_length self . parent . overview . update_position ( window_start ) if table_type == 'annot' : for annot in self . parent . traces . idx_annot : if annot . marker . x ( ) == marker_time : self . parent . traces . highlight_event ( annot ) break
Move to point in time marked by the marker.

        Parameters
        ----------
        row : QtCore.int

        column : QtCore.int

        table_type : str
            'dataset' table or 'annot' table, it works on either