adjust module
Define the ADJUST command.
As for now, ADJUST commands are not used by LightWin.
Functionnality under implementation: LightWin will be able to add ADJUST and DIAGNOSTIC commands to perform a beauty pass.
Todo
How should I save the min/max variables?? For now, use None.
Note
This is TraceWin’s equivalent of Variable.
- class Adjust(line: DatLine, dat_idx: int | None = None, **kwargs)
Bases:
CommandA dummy command.
- classmethod _args_to_line(number: int, vth_variable: int, n_link: int = 0, mini: float | None = None, maxi: float | None = None, start_step: float | None = None, k_n: float | None = None) str
Create the
DatLinecorresponding toselfobject.
- set_influenced_elements(instructions: list[Instruction], **kwargs: float) None
Apply command to first
Elementthat is found.
- apply(*args, **kwargs) list[Instruction]
Do not apply anything.
- _abc_impl = <_abc._abc_data object at 0x7f36f9e45f00>