deltakit.core.decoding_graphs.OrderedSyndrome.split_at_symptom#

OrderedSyndrome.split_at_symptom(split_detection_event: int) tuple[list[int], list[int]]#

Split OrderedSyndrome in to two lists of detection events in order, ending the first at the given detector event.

Parameters:

split_detection_event (int) – The largest detection event symptom. Events after this are interpreted to be leakage heralding events.

Returns:

Lists of post and pre symptom detection events.

Return type:

Tuple[List[int], List[int]]