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, dat_idx=None, **kwargs)[source]

Bases: Command

A dummy command.

Parameters:
is_implemented: bool = False
n_attributes: int | range | Collection = range(2, 8)
__init__(line, dat_idx=None, **kwargs)[source]

Instantiate the object.

Parameters:
Return type:

None

classmethod _args_to_line(number, vth_variable, n_link=0, mini=None, maxi=None, start_step=None, k_n=None)[source]

Create the DatLine corresponding to self object.

Parameters:
Return type:

str

set_influenced_elements(instructions, **kwargs)[source]

Apply command to first Element that is found.

Parameters:
Return type:

None

apply(*args, **kwargs)[source]

Do not apply anything.

Return type:

list[Instruction]

_abc_impl = <_abc._abc_data object at 0x7318fb9447c0>