end module
Define a command to indicate end of the linac.
- class End(line, dat_idx=None, **kwargs)[source]
Bases:
CommandThe end of the linac.
- set_influenced_elements(*args, **kwargs)[source]
Determine the index of the element concerned by
apply().
- apply(instructions, **kwargs)[source]
Remove everything in
instructionsafter this object.- Parameters:
instructions (
list[Instruction])kwargs (
float)
- Return type:
- _abc_impl = <_abc._abc_data object at 0x7318faa95e80>