core.commands.freq module
Define a command to set frequency.
- class Freq(line: list[str], dat_idx: int, **kwargs: str)
Bases:
Command
Used to get the frequency of every Section.
- __init__(line: list[str], dat_idx: int, **kwargs: str) None
Save frequency as attribute.
- _abc_impl = <_abc._abc_data object>
- apply(instructions: list[Instruction], freq_bunch: float | None = None, **kwargs: float) list[Instruction]
Set
FieldMap
frequency.If another
Freq
is found, we stop and the newFreq
will be dealt with later.
- is_implemented: bool = True
- n_attributes: int | range | Collection = 1
- set_influenced_elements(instructions: list[Instruction], **kwargs: float) None
Determine the index of the elements concerned by
apply()
.