CircuitExtractor¶
- class selene_sim.CircuitExtractor¶
- __abstractmethods__ = frozenset({})¶
- __init__()¶
- get_selene_flags() list[str] ¶
When given –provide-instruction-log, Selene will emit an INSTRUCTIONLOG tag to the results stream, followed by a dump of all instructions that were logged from e.g. the user program or the runtime.
- on_new_shot()¶
If this EventHook stores information on a shot-by-shot basis, implement this method to handle the creation of a new shot.
- shots: list[ShotInstructions]¶
- try_invoke(tag: str, data: list) bool ¶
Check the tag to see if it is relevant to this EventHook. If so, parse the data and return True.