libtcspc.CompiledGraph¶ class libtcspc.CompiledGraph(graph, input_event_types=())[source]¶ Bases: object A compiled processing graph. The result can be used for multiple executions. Objects of this type should be treated as immutable. Parameters: graph (Graph) – The processing graph to compile. The graph must have exactly one input port and no output ports. input_event_types (Sequence[EventType]) – The (Python) event types accepted as input (via handle()).